[wp-trac] [WordPress Trac] #39000: REST API: Require the reassign parameter when deleting users
WordPress Trac
noreply at wordpress.org
Fri Dec 2 06:54:01 UTC 2016
#39000: REST API: Require the reassign parameter when deleting users
---------------------------------------------+-----------------------
Reporter: jeremyfelt | Owner: pento
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.7
Component: Users | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses: rest-api
---------------------------------------------+-----------------------
Changes (by pento):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"39426"]:
{{{
#!CommitTicketReference repository="" revision="39426"
REST API: Require the reassign parameter when deleting users.
When deleting a user through the WordPress admin, a specific decision is
presented - whether to assign all of the user's posts to another user, or
to delete all of the posts.
This change requires `reassign` as a parameter in the corresponding REST
API endpoint, so that content isn't accidentally lost.
Props jeremyfelt.
Fixes #39000.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39000#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list