[buddypress-trac] [BuddyPress Trac] #7476: Deletion of user also deletes any groups that they created - without any Warning!

buddypress-trac noreply at wordpress.org
Sat Nov 3 15:31:00 UTC 2018


#7476: Deletion of user also deletes any groups that they created - without any
Warning!
----------------------------+-----------------------
 Reporter:  shanebp         |       Owner:  (none)
     Type:  defect (bug)    |      Status:  assigned
 Priority:  normal          |   Milestone:  4.0
Component:  Administration  |     Version:  1.0
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+-----------------------

Comment (by boonebgorges):

 The approach in [attachment:"7476.b.03.patch"] seems good to me.

 One thought: Perhaps we leave the existing method in place, and instead
 put this new logic in a new, more appropriately named method. Something
 like `leave_all_for_user()`. Then, we call that from
 `groups_remove_data_for_user()` instead. We could also improve the
 documentation on `groups_remove_data_for_user()` that explains more
 clearly what happens at user deletion, and then explains how to
 `remove_filter()` to modify it.

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


More information about the buddypress-trac mailing list