WordPress/wp-includes/rest-api
K. Adam White 951b1d89db 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.

Built from https://develop.svn.wordpress.org/trunk@47559


git-svn-id: http://core.svn.wordpress.org/trunk@47334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-09 19:30:07 +00:00
..
endpoints REST API: Fix revisions controller get_item permission check. 2020-04-03 19:40:08 +00:00
fields Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
search Docs: Add missing @see tag to WP_REST_Post_Search_Handler DocBlock. 2019-05-14 15:00:07 +00:00
class-wp-rest-request.php REST API: Handle parameter types consistently within set_param(). 2020-04-09 19:30:07 +00:00
class-wp-rest-response.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-server.php REST API: Fix namespace shadowing issue in route matching logic. 2020-02-24 18:07:08 +00:00