WordPress/wp-includes/rest-api
James Nylen 252ab08d88 REST API: Fix changing parameters with `set_param()` for some requests.
Prior to this commit, `WP_Rest_Request::get_param()` traversed through the parameter order but `WP_Rest_Request::set_param()` did not. For JSON requests (and likely other situations as well), this meant that changing a parameter with `set_param()` would have no effect on `get_param()`.

Props TimothyBlynJacobs.
Fixes #40344.


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


git-svn-id: http://core.svn.wordpress.org/trunk@40673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-22 16:16:42 +00:00
..
endpoints REST API: Improve a few more strings added after the 4.7 string freeze. 2017-05-10 19:41:41 +00:00
fields REST API: Return a `WP_Error` if `meta` property is not an array. 2016-12-02 21:56:42 +00:00
class-wp-rest-request.php REST API: Fix changing parameters with `set_param()` for some requests. 2017-05-22 16:16:42 +00:00
class-wp-rest-response.php DOCS: Replace HTTP links with HTTPS. 2016-06-10 04:50:33 +00:00
class-wp-rest-server.php REST API: Avoid sending blank `Last-Modified` headers with authenticated requests. 2017-05-19 20:27:44 +00:00