[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
Mon Nov 28 01:47:06 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
------------------------------------------+------------------------
Changes (by rmccue):

 * keywords:   => needs-patch needs-unit-tests


Comment:

 Replying to [comment:1 jeremyfelt]:
 > * 4.7 (this ticket) - Restrict the current `DELETE` route for users to
 single site.
 > * 4.8 - Provide a way for `update_item()` via `PUT` to remove the site
 capabilities for a user and remove object (post) associations. Require
 `reassign`.
 > * 4.8 - Create a global route for deleting a user, accounting for the
 case of multiple networks.

 Sounds like a good plan to me.

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


More information about the wp-trac mailing list