Property changes on: .
___________________________________________________________________
Modified: svn:ignore
- .DS_Store
.DS_store
.gitignore
+ .DS_Store
.DS_store
.gitignore
5006.diff
|
|
|
239 | 239 | return apply_filters( 'bp_get_message_thread_excerpt', strip_tags( bp_create_excerpt( $messages_template->thread->last_message_content, 75 ) ) ); |
240 | 240 | } |
241 | 241 | |
| 242 | function bp_message_thread_content() { |
| 243 | echo bp_get_message_thread_content(); |
| 244 | } |
| 245 | function bp_get_message_thread_content() { |
| 246 | global $messages_template; |
| 247 | |
| 248 | return apply_filters( 'bp_get_message_thread_excerpt', $messages_template->thread->last_message_content ); |
| 249 | } |
| 250 | |
242 | 251 | function bp_message_thread_from() { |
243 | 252 | echo bp_get_message_thread_from(); |
244 | 253 | } |
… |
… |
|
850 | 859 | return apply_filters( 'bp_get_the_thread_recipients', implode( ', ', $recipient_links ) ); |
851 | 860 | } |
852 | 861 | |
853 | | /** |
854 | | * Echoes the ID of the current message in the thread |
855 | | * |
856 | | * @since BuddyPress (1.9) |
857 | | */ |
858 | | function bp_the_thread_message_id() { |
859 | | echo bp_get_the_thread_message_id(); |
860 | | } |
861 | | /** |
862 | | * Gets the ID of the current message in the thread |
863 | | * |
864 | | * @since BuddyPress (1.9) |
865 | | * @return int |
866 | | */ |
867 | | function bp_get_the_thread_message_id() { |
868 | | global $thread_template; |
869 | | |
870 | | $thread_message_id = isset( $thread_template->message->id ) ? (int) $thread_template->message->id : null; |
871 | | return apply_filters( 'bp_get_the_thread_message_id', $thread_message_id ); |
872 | | } |
873 | | |
874 | 862 | function bp_the_thread_message_alt_class() { |
875 | 863 | echo bp_get_the_thread_message_alt_class(); |
876 | 864 | } |