[buddypress-trac] [BuddyPress Trac] #7523: Messages are not deleted from DB, when user is deleted

buddypress-trac noreply at wordpress.org
Wed May 31 21:10:55 UTC 2017


#7523: Messages are not deleted from DB, when user is deleted
--------------------------+-----------------------
 Reporter:  slaFFik       |       Owner:  r-a-y
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  2.9
Component:  Messages      |     Version:  1.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------

Comment (by r-a-y):

 In today's dev chat, we talked about deleting message threads from the
 removed user from the DB, but keeping individual messages from the removed
 user intact, but switching the content of the message to `[deleted]`
 instead of what was actually written.

 Switching out the content turned out to be pretty straightforward.  See
 `deleted.patch`.  Patch also fixes an issue with
 `bp_core_get_core_userdata()` not caching invalid users.

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


More information about the buddypress-trac mailing list