[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
Tue Nov 29 03:13:33 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:
     Type:  defect (bug)                  |      Status:  new
 Priority:  high                          |   Milestone:  4.7
Component:  REST API                      |     Version:  trunk
 Severity:  major                         |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:  multisite
------------------------------------------+------------------------

Comment (by rmccue):

 Replying to [comment:6 dd32]:
 > The `reassign` param should only be required for `DELETE` methods, and
 as per above, should be restricted to single-site usage only for 4.7

 Right, but the proposal is to use `PUT` in 4.8, as you're not deleting the
 user, just removing their access to the site.

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


More information about the wp-trac mailing list