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

buddypress-trac noreply at wordpress.org
Wed Jan 3 23:29:33 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 johnjamesjacoby):

 We wouldn't need to join, exactly, because we aren't excluding those
 messages from threads. All we need to do is say: if the `user_status` meta
 key for this message ID equals `deleted` then show some "Deleted" type
 user name instead. I don't remember if we lazy load message meta or not,
 but ideally if we are, there's nothing gained or lost this way.

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


More information about the buddypress-trac mailing list