[wp-trac] [WordPress Trac] #44495: API requires "reassign" while it's optional within WordPress core

WordPress Trac noreply at wordpress.org
Fri Jul 6 04:21:27 UTC 2018


#44495: API requires "reassign" while it's optional within WordPress core
--------------------------+------------------------------
 Reporter:  apermo        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  REST API      |     Version:  4.9.6
 Severity:  minor         |  Resolution:
 Keywords:  close         |     Focuses:
--------------------------+------------------------------

Comment (by apermo):

 Replying to [comment:1 TimothyBlynJacobs]:
 > Have you tried setting `reassign` to a falsey value like `0` or
 `'false'`? The API requires you to provide/acknowledge the `reassign`
 parameter, but it should not require reassigning.

 No, I haven't tried that.

 So is it by design that you need to set the parameter, and the internal
 API is inconsistent for backwards compatibility reasons? Or why is it
 inconsistent?

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


More information about the wp-trac mailing list