WordPress/wp-includes/rest-api
Joe Hoyle b0a327cf3c REST API: WP_REST_Request::remove_header() should canonicalize header names.
When headers are stored in WP_REST_Request internally they are canonicalized. This step already happens on setting / getting headers in any way, but was missed when implementing remove_header().

Props TimothyBlynJacobs.
Fixes #40347.

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


git-svn-id: http://core.svn.wordpress.org/trunk@40447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-07 04:09:41 +00:00
..
endpoints REST API: Improve strings added after 4.7 string freeze. 2017-05-05 18:49:47 +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: WP_REST_Request::remove_header() should canonicalize header names. 2017-05-07 04:09:41 +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: Add `gmt_offset` and `timezone_string` to the base `/wp-json` response. 2017-03-07 05:48:41 +00:00