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

buddypress-trac noreply at wordpress.org
Fri Jun 16 14:22:57 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 johnjamesjacoby):

 Approach in the patch looks OK to me.

 For final commit, can we move that `false === $userdata ? 0` bit out from
 the function call? Inline ternaries like that are tricky to read and
 easily overlooked, at least by my eyes.

 🙏

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


More information about the buddypress-trac mailing list