[buddypress-trac] [BuddyPress Trac] #9000: Group member object cache not refreshed after removal

buddypress-trac noreply at wordpress.org
Thu Oct 5 20:31:36 UTC 2023


#9000: Group member object cache not refreshed after removal
--------------------------+------------------------------
 Reporter:  iandunn       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Groups        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------
Changes (by prbot):

 * keywords:   => has-patch


Comment:

 ''This ticket was mentioned in
 [https://github.com/buddypress/buddypress/pull/171 PR #171] on
 [https://github.com/buddypress/buddypress/ buddypress/buddypress] by
 [https://profiles.wordpress.org/iandunn/ @iandunn].''
 The `groups_remove_member` action triggers
 `groups_clear_group_user_object_cache(),` but that doesn't clear the cache
 set in `BP_Groups_Group::get()`.

 An extra action was added to reset the `bp_groups` cache incrementor when
 a member is removed.

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


More information about the buddypress-trac mailing list