[buddypress-trac] [BuddyPress Trac] #5327: bp_get_the_thread_recipients() is not displaying correctly

buddypress-trac noreply at wordpress.org
Mon Oct 27 01:18:27 UTC 2014


#5327: bp_get_the_thread_recipients() is not displaying correctly
----------------------------------------+--------------------
 Reporter:  colabsadmin                 |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  2.2
Component:  Messaging                   |     Version:  1.9.1
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch good-first-bug  |
----------------------------------------+--------------------

Comment (by henry.wright):

 Hi joshshashaty

 Just a thought on the recipient count conditional logic: 10 is quite a
 large number (displaying 9 recipient names on screen might take up a bit
 of space). Perhaps you could make the value filterable? For example:


 {{{
 $number = apply_filters( 'tag-blah', $number );

 if ( $number <= bp_get_thread_recipients_count() ) :
 ...
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5327#comment:8>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list