WordPress/wp-includes/rest-api
Gary Pendergast dbc4b87b7f REST API: Allow Content-Type on CORS requests.
This allows `POST` requests with a wider variety of `Content-Type' headers - `Content-Type: application/json`, for example.

Props jnylen0.
Fixes #37994.


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


git-svn-id: http://core.svn.wordpress.org/trunk@38986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-31 00:34:33 +00:00
..
endpoints Docs: Add much more complete and syntactically correct documentation throughout the WP_REST_Users_Controller class. 2016-10-30 18:52:30 +00:00
fields Docs: Add much more complete and syntactically correct documentation throughout the WP_REST_User_Meta_Fields class. 2016-10-30 18:28:30 +00:00
class-wp-rest-request.php REST: Fix a yoda condition in WP_REST_Request::get_parameter_order() and add a missing period for an inline comment in `WP_REST_Request::from_url(). 2016-10-30 17:42:45 +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: Allow Content-Type on CORS requests. 2016-10-31 00:34:33 +00:00