[wp-trac] [WordPress Trac] #36419: Request data is inconsistently slashed in REST API callbacks

WordPress Trac noreply at wordpress.org
Wed Apr 6 21:01:14 UTC 2016


#36419: Request data is inconsistently slashed in REST API callbacks
---------------------------------------------+--------------------------
 Reporter:  joehoyle                         |       Owner:  markjaquith
     Type:  defect (bug)                     |      Status:  closed
 Priority:  highest omg bbq                  |   Milestone:  4.5
Component:  REST API                         |     Version:  4.4
 Severity:  blocker                          |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+--------------------------
Changes (by markjaquith):

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


Comment:

 In [changeset:"37163"]:
 {{{
 #!CommitTicketReference repository="" revision="37163"
 REST API: Deliver parameters unadulterated instead of slashed.

 We goofed, and parameters accessed through the REST API's methods
 were slashed (inconsistently, even). This unslashes the data, so
 you get the un-messed-with data that was sent.

 Props joehoyle.
 Fixes #36419.
 }}}

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


More information about the wp-trac mailing list