[buddypress-trac] [BuddyPress Trac] #6981: PHP debug notices when deleting a WordPress user

buddypress-trac noreply at wordpress.org
Thu May 12 18:53:36 UTC 2016

#6981: PHP debug notices when deleting a WordPress user
 Reporter:  henry.wright                |       Owner:  DJPaul
     Type:  defect (bug)                |      Status:  closed
 Priority:  normal                      |   Milestone:  2.6
Component:  Component - Core            |     Version:  2.5.0
 Severity:  normal                      |  Resolution:  fixed
 Keywords:  needs-patch good-first-bug  |
Changes (by djpaul):

 * status:  assigned => closed
 * resolution:   => fixed


 In [changeset:"10749"]:
 #!CommitTicketReference repository="" revision="10749"
 Core: when deleting a user's last_activity value, make sure it exists.

 Creating a user in wp-admin then immediately deleting it was causing a
 "doing it wrong" error because the last_activity value was null,
 causing WPDB's `delete` and `prepare` methods to fail.

 Fixes #6981

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6981#comment:8>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list