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

buddypress-trac noreply at wordpress.org
Wed Jan 3 22:14:59 UTC 2018


#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:  3.0
Component:  Messages      |     Version:  1.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------

Comment (by DJPaul):

 I think showing a deleted users’ messages is a good behaviour; it also
 helps from a audit/moderation perspective (it looks like what we did in
 the last release might hide the content from a site admin, for example).
 I’d rather keep the message chain intact.

 How about something like, changing the user ID of messages-to-be-deleted
 to -1, and treating such in the message loop as a “deleted user”, and
 showing that appropriately in the templates?

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


More information about the buddypress-trac mailing list