[buddypress-trac] [BuddyPress] #4690: member groups count don't go through filter

buddypress-trac noreply at wordpress.org
Wed Nov 28 09:17:59 UTC 2012

#4690: member groups count don't go through filter
 Reporter:  magnus78      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:
 Severity:  normal        |   Keywords:  has-patch
 When viewing a member page there is a tab like Groups (3).
 The number shown can be wrong if one wants the group count filtered, e.g.
 to hide some special groups.

 This is because a slightly incorrect function is called.
 groups_total_groups_for_user don't go through the filters, whereas
 bp_get_total_group_count_for_user does - in other respects is should e the
 same thing.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4690>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list