[wp-trac] [WordPress Trac] #39000: REST API: Require the reassign parameter when deleting users

WordPress Trac noreply at wordpress.org
Fri Dec 2 04:30:11 UTC 2016


#39000: REST API: Require the reassign parameter when deleting users
------------------------------------------+-----------------------
 Reporter:  jeremyfelt                    |       Owner:
     Type:  defect (bug)                  |      Status:  new
 Priority:  normal                        |   Milestone:  4.7
Component:  Users                         |     Version:  trunk
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:  rest-api
------------------------------------------+-----------------------

Comment (by jeremyfelt):

 [attachment:39000.2.diff] looks for `reassign` as a falsy value.

 I'm going to look at a couple more tests for invalid conditions, but an
 initial review would be good. :)

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


More information about the wp-trac mailing list