Ticket #5990: 5990.01.patch
File 5990.01.patch, 1006 bytes (added by , 10 years ago) |
---|
-
src/bp-messages/bp-messages-template.php
1834 1834 * @todo Add Messages meta? 1835 1835 */ 1836 1836 function bp_messages_embed() { 1837 add_filter( 'embed_post_id', 'bp_get_ message_thread_id' );1837 add_filter( 'embed_post_id', 'bp_get_the_thread_message_id' ); 1838 1838 } 1839 add_action( ' messages_box_loop_start', 'bp_messages_embed' );1839 add_action( 'thread_loop_start', 'bp_messages_embed' ); -
src/bp-templates/bp-legacy/buddypress-functions.php
1298 1298 1299 1299 bp_thread_has_messages( array( 'thread_id' => (int) $_REQUEST['thread_id'] ) ); 1300 1300 1301 bp_thread_the_message(); 1302 1301 1303 if ( $thread_template->message_count % 2 == 1 ) { 1302 1304 $class = 'odd'; 1303 1305 } else {