[buddypress-trac] [BuddyPress] #4061: Member count in Members Directory 'All Members' tab is incorrect
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Fri Apr 13 16:31:52 UTC 2012
#4061: Member count in Members Directory 'All Members' tab is incorrect
--------------------------+---------------------------
Reporter: boonebgorges | Owner: boonebgorges
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 1.6
Component: Members | Version:
Severity: normal | Resolution: fixed
Keywords: |
--------------------------+---------------------------
Changes (by boonebgorges):
* status: new => closed
* resolution: => fixed
Comment:
(In [5987]) 'Total member count' cleanup:
- Introduces bp_core_get_active_member_count() to get an accurate count of
members with recorded last_activity
- Points bp_get_total_member_count() to bp_core_get_active_member_count(),
so that 'All Members' tab count on member directories matches the total
count prepared by BP_Core_User::get_users(). Fixes #4061
- Changes 'All Members' count in activity/index.php to use
bp_get_total_member_count(), for greater accuracy and consistency between
activity and members components
- Introduces a cache-busting function to be fired when member counts
change (new members, spam status changed, member deleted)
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4061#comment:5>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list