[wp-trac] [WordPress Trac] #34993: Deleting a user no longer asks what to do with their content

WordPress Trac noreply at wordpress.org
Fri Dec 11 13:13:16 UTC 2015


#34993: Deleting a user no longer asks what to do with their content
-------------------------------------+-----------------------------
 Reporter:  beerallica               |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  4.4.1
Component:  Users                    |     Version:  4.4
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  administration
-------------------------------------+-----------------------------

Comment (by tharsheblows):

 I don't think we need a check for post_statuses. wp_delete_user
 (https://core.trac.wordpress.org/browser/trunk/src/wp-
 admin/includes/user.php#L284) doesn't differentiate between them, so it's
 more consistent to not use it here. Plus it's much faster. :)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34993#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list