Go to file
Jeremy Felt fde4185ae4 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.


git-svn-id: https://develop.svn.wordpress.org/branches/4.7@39439 602fd350-edb4-49c9-b593-d223f7449a82
2016-12-02 22:15:32 +00:00
src REST API: Disable `DELETE` requests for users in multisite. 2016-12-02 22:15:32 +00:00
tests REST API: Disable `DELETE` requests for users in multisite. 2016-12-02 22:15:32 +00:00
tools/i18n
.editorconfig
.gitignore
.jshintrc
.travis.yml Build/Test Tools: Remove PHP 7.1 from allowed failures 2016-12-02 06:43:46 +00:00
Gruntfile.js Build/Test tools: Add "apply" as alias for "patch" 2016-11-10 03:21:39 +00:00
npm-shrinkwrap.json Build: Remove fsevents from npm-shrinkwrap.json 2016-11-29 04:02:23 +00:00
package.json Revert [39118] due to incompatibility with node v0.10.x 2016-11-03 06:08:34 +00:00
phpunit.xml.dist
wp-cli.yml
wp-config-sample.php
wp-tests-config-sample.php Tests: Use a minimal theme for tests. 2016-10-21 11:02:37 +00:00