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

WordPress Trac noreply at wordpress.org
Wed Dec 23 04:45:45 UTC 2015


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

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


Comment:

 In [changeset:"36068"]:
 {{{
 #!CommitTicketReference repository="" revision="36068"
 Users: When determining whether to show the reassign content option during
 user delete, don't rely upon `WP_Query` as it doesn't return all forms of
 content `wp_delete_user()` operates on.

 This restores the reassign form when a user has a non-public post type or
 links assigned to them.

 Props swissspidy & tharsheblows for initial patches.
 Fixes #34993 for trunk.
 }}}

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


More information about the wp-trac mailing list