[buddypress-trac] [BuddyPress] #4226: Member's group / friends totals incorrect on memcached

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Jun 14 20:13:00 UTC 2012


#4226: Member's group / friends totals incorrect on memcached
--------------------------+-----------------------
 Reporter:  DJPaul        |       Owner:  DJPaul
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  1.6
Component:  Members       |     Version:  1.2
 Severity:  major         |  Resolution:
 Keywords:                |
--------------------------+-----------------------

Comment (by djpaul):

 (In [6100]) When a group is created or deleted, clear each group member's
 "total groups count" cache.
 Addresses a bug where the counts never changed in an environment with a
 persistent object cache.

 * See #4226
 * Specify cache group for to wp_cache_delete() in
 groups_clear_group_user_object_cache().
 * Add $user_ids parameter to the 'bp_groups_delete_group' action to save a
 repeat DB query later.
 * Add $group object parameter to the 'groups_created_group' action.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4226#comment:5>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list