[buddypress-trac] [BuddyPress Trac] #6813: Count & no-count classes not working properly for Groups

buddypress-trac noreply at wordpress.org
Fri Jan 8 21:30:11 UTC 2016


#6813: Count & no-count classes not working properly for Groups
--------------------------------+--------------------
 Reporter:  wp_new_user         |       Owner:
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  2.5
Component:  Component - Groups  |     Version:  2.4.0
 Severity:  normal              |  Resolution:
 Keywords:                      |
--------------------------------+--------------------

Comment (by boonebgorges):

 Actually, it looks like `bp_get_total_group_count_for_user()` can't be an
 integer, because it's run through `bp_core_number_format()`. We should use
 `groups_total_groups_for_user()` to set the `count` class.

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


More information about the buddypress-trac mailing list