diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php index b0a8bd790d..52b91fcf30 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php @@ -1088,7 +1088,7 @@ class WP_REST_Comments_Controller extends WP_REST_Controller { */ public function get_item_schema() { $schema = array( - '$schema' => 'http://json-schema.org/draft-04/schema#', + '$schema' => 'http://json-schema.org/schema#', 'title' => 'comment', 'type' => 'object', 'properties' => array( diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php index 13ffee0095..75f9d3055f 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php @@ -243,7 +243,7 @@ class WP_REST_Post_Statuses_Controller extends WP_REST_Controller { */ public function get_item_schema() { $schema = array( - '$schema' => 'http://json-schema.org/draft-04/schema#', + '$schema' => 'http://json-schema.org/schema#', 'title' => 'status', 'type' => 'object', 'properties' => array( diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php index 358bad836a..534aa8ef68 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php @@ -199,7 +199,7 @@ class WP_REST_Post_Types_Controller extends WP_REST_Controller { */ public function get_item_schema() { $schema = array( - '$schema' => 'http://json-schema.org/draft-04/schema#', + '$schema' => 'http://json-schema.org/schema#', 'title' => 'type', 'type' => 'object', 'properties' => array( diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php index 0afc6061b6..dfa4b4e7b5 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php @@ -1655,7 +1655,7 @@ class WP_REST_Posts_Controller extends WP_REST_Controller { public function get_item_schema() { $schema = array( - '$schema' => 'http://json-schema.org/draft-04/schema#', + '$schema' => 'http://json-schema.org/schema#', 'title' => $this->post_type, 'type' => 'object', // Base properties for every Post. diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php index 9ecd0adeda..4c21d0195c 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php @@ -376,7 +376,7 @@ class WP_REST_Revisions_Controller extends WP_REST_Controller { */ public function get_item_schema() { $schema = array( - '$schema' => 'http://json-schema.org/draft-04/schema#', + '$schema' => 'http://json-schema.org/schema#', 'title' => "{$this->parent_post_type}-revision", 'type' => 'object', // Base properties for every Revision. diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php index 5d16fb396e..3bf74317a2 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php @@ -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(), diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php index 053bff537b..21c0b0e32b 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php @@ -230,7 +230,7 @@ class WP_REST_Taxonomies_Controller extends WP_REST_Controller { */ public function get_item_schema() { $schema = array( - '$schema' => 'http://json-schema.org/draft-04/schema#', + '$schema' => 'http://json-schema.org/schema#', 'title' => 'taxonomy', 'type' => 'object', 'properties' => array( diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php index c9f9f910a8..4e39c8fa56 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php @@ -797,7 +797,7 @@ class WP_REST_Terms_Controller extends WP_REST_Controller { */ public function get_item_schema() { $schema = array( - '$schema' => 'http://json-schema.org/draft-04/schema#', + '$schema' => 'http://json-schema.org/schema#', 'title' => 'post_tag' === $this->taxonomy ? 'tag' : $this->taxonomy, 'type' => 'object', 'properties' => array( diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php index 1256c6810d..e62b6481a3 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php @@ -995,7 +995,7 @@ class WP_REST_Users_Controller extends WP_REST_Controller { */ public function get_item_schema() { $schema = array( - '$schema' => 'http://json-schema.org/draft-04/schema#', + '$schema' => 'http://json-schema.org/schema#', 'title' => 'user', 'type' => 'object', 'properties' => array( diff --git a/wp-includes/version.php b/wp-includes/version.php index d66f28edc9..6a4a87d7e9 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-beta1-39105'; +$wp_version = '4.7-beta1-39106'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.