diff --git src/bp-messages/bp-messages-template.php src/bp-messages/bp-messages-template.php
index b327a6d..eec958f 100644
|
|
|
function bp_the_thread_subject() { |
| 2051 | 2051 | * @return string |
| 2052 | 2052 | */ |
| 2053 | 2053 | function bp_get_the_thread_recipients(){ |
| 2054 | | if ( 5 <= bp_get_thread_recipients_count() ) { |
| | 2054 | /** |
| | 2055 | * Filters the number used to determine whether a list of thread recipients or an "x recipients" string is displayed. |
| | 2056 | * |
| | 2057 | * @since BuddyPress (2.2.0) |
| | 2058 | * |
| | 2059 | * @param int $value Number to determine whether a list of thread recipients or an "x recipients" string is displayed. |
| | 2060 | */ |
| | 2061 | if ( apply_filters( 'bp_get_the_thread_recipients_number', 5 ) <= bp_get_thread_recipients_count() ) { |
| 2055 | 2062 | $recipients = sprintf( __( '%s recipients', 'buddypress' ), number_format_i18n( bp_get_thread_recipients_count() ) ); |
| 2056 | 2063 | } else { |
| 2057 | 2064 | $recipients = bp_get_thread_recipients_list(); |