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
This commit is contained in:
Gary Pendergast
2016-10-31 00:34:33 +00:00
parent b7e6c43c64
commit dbc4b87b7f
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.7-beta1-39043';
$wp_version = '4.7-beta1-39044';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.