[wp-trac] [WordPress Trac] #38962: REST API: Don't delete posts/links when deleting/removing a user from a site in a multisite install
WordPress Trac
noreply at wordpress.org
Fri Dec 2 22:15:34 UTC 2016
#38962: REST API: Don't delete posts/links when deleting/removing a user from a
site in a multisite install
-------------------------------------------------+-------------------------
Reporter: ocean90 | Owner: jeremyfelt
Type: defect (bug) | Status: closed
Priority: high | Milestone: 4.7
Component: REST API | Version: trunk
Severity: major | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses: multisite
dev-reviewed |
-------------------------------------------------+-------------------------
Comment (by jeremyfelt):
In [changeset:"39439"]:
{{{
#!CommitTicketReference repository="" revision="39439"
REST API: Disable `DELETE` requests for users in multisite.
In wp-admin, users are removed from individual sites rather than deleted.
A user can only be deleted from the network admin.
Until support for a PUT request that removes a user's site and content
associations is available, DELETE requests are disabled to avoid possible
issues with lost content.
Merges [34938] onto 4.7 branch.
Props jnylen0, rachelbaker.
Fixes #38962 for 4.7.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38962#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list