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

WordPress Trac noreply at wordpress.org
Sun Dec 27 02:16:42 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 fixed-major  |     Focuses:  administration
------------------------------------------+-----------------------------
Changes (by dd32):

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


Comment:

 In [changeset:"36106"]:
 {{{
 #!CommitTicketReference repository="" revision="36106"
 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.

 Merges [36068] to the 4.4 branch.
 Props swissspidy & tharsheblows for initial patches.
 Fixes #34993.
 }}}

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


More information about the wp-trac mailing list