[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
Sun Nov 27 22:59:45 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:                |     Focuses:  multisite
--------------------------+------------------------

Comment (by joehoyle):

 I'd be happy to disable `DELETE` for multisite for 4.7.

 > The severity of this issue can probably be a bit reduced if we require
 the reassign parameter for all requests. For the current default behaviour
 I'd have to set reassign=>null explicitly.

 Not totally sure on this approach, but doesn't seem crazy.

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


More information about the wp-trac mailing list