REST API: Switch to stable version of JSON Schema.

Props danielbachhuber.
Fixes #38635.


git-svn-id: https://develop.svn.wordpress.org/trunk@39106 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Joe Hoyle
2016-11-03 02:21:48 +00:00
parent baf52c815a
commit 7f67e60817
9 changed files with 9 additions and 9 deletions
@@ -282,7 +282,7 @@ class WP_REST_Settings_Controller extends WP_REST_Controller {
$options = $this->get_registered_options();
$schema = array(
'$schema' => 'http://json-schema.org/draft-04/schema#',
'$schema' => 'http://json-schema.org/schema#',
'title' => 'settings',
'type' => 'object',
'properties' => array(),