[wp-trac] [WordPress Trac] #40838: REST API: Inconsistent parameter type handling in `set_param()`

WordPress Trac noreply at wordpress.org
Thu Apr 9 19:29:13 UTC 2020


#40838: REST API: Inconsistent parameter type handling in `set_param()`
----------------------------+-----------------------
 Reporter:  jnylen0         |       Owner:  vagios
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  5.5
Component:  REST API        |     Version:  4.4
 Severity:  minor           |  Resolution:  fixed
 Keywords:  good-first-bug  |     Focuses:  rest-api
----------------------------+-----------------------
Changes (by kadamwhite):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"47559" 47559]:
 {{{
 #!CommitTicketReference repository="" revision="47559"
 REST API: Handle parameter types consistently within set_param().

 A request has multiple parameter types, including "query" and "json."
 Updating a parameter could previously modify a key's value in the wrong
 parameter type, leading to confusing and self-contradictory response
 objects.

 Props mnelson4, TimothyBlynJacobs, vagios, jnylen0.
 Fixes #40838.
 }}}

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


More information about the wp-trac mailing list