[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:10:03 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 |
-------------------------------------------------+-------------------------
Changes (by jeremyfelt):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"39438"]:
{{{
#!CommitTicketReference repository="" revision="39438"
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.
Props jnylen0, rachelbaker.
Fixes #38962.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38962#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list