diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php
index e91fce2..13bcc51 100644
a
|
b
|
class WP_REST_Comments_Controller extends WP_REST_Controller { |
1140 | 1140 | */ |
1141 | 1141 | public function get_item_schema() { |
1142 | 1142 | $schema = array( |
1143 | | '$schema' => 'http://json-schema.org/schema#', |
| 1143 | '$schema' => 'http://json-schema.org/draft-04/schema#', |
1144 | 1144 | 'title' => 'comment', |
1145 | 1145 | 'type' => 'object', |
1146 | 1146 | 'properties' => array( |
diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php
index 369cf3c..e2cce55 100644
a
|
b
|
class WP_REST_Post_Statuses_Controller extends WP_REST_Controller { |
240 | 240 | */ |
241 | 241 | public function get_item_schema() { |
242 | 242 | $schema = array( |
243 | | '$schema' => 'http://json-schema.org/schema#', |
| 243 | '$schema' => 'http://json-schema.org/draft-04/schema#', |
244 | 244 | 'title' => 'status', |
245 | 245 | 'type' => 'object', |
246 | 246 | 'properties' => array( |
diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php
index c4571d9..d574ba8 100644
a
|
b
|
class WP_REST_Post_Types_Controller extends WP_REST_Controller { |
201 | 201 | */ |
202 | 202 | public function get_item_schema() { |
203 | 203 | $schema = array( |
204 | | '$schema' => 'http://json-schema.org/schema#', |
| 204 | '$schema' => 'http://json-schema.org/draft-04/schema#', |
205 | 205 | 'title' => 'type', |
206 | 206 | 'type' => 'object', |
207 | 207 | 'properties' => array( |
diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
index f9de736..d836d3b 100644
a
|
b
|
class WP_REST_Posts_Controller extends WP_REST_Controller { |
1684 | 1684 | public function get_item_schema() { |
1685 | 1685 | |
1686 | 1686 | $schema = array( |
1687 | | '$schema' => 'http://json-schema.org/schema#', |
| 1687 | '$schema' => 'http://json-schema.org/draft-04/schema#', |
1688 | 1688 | 'title' => $this->post_type, |
1689 | 1689 | 'type' => 'object', |
1690 | 1690 | // Base properties for every Post. |
diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php
index fdb01dc..47ae571 100644
a
|
b
|
class WP_REST_Revisions_Controller extends WP_REST_Controller { |
451 | 451 | */ |
452 | 452 | public function get_item_schema() { |
453 | 453 | $schema = array( |
454 | | '$schema' => 'http://json-schema.org/schema#', |
| 454 | '$schema' => 'http://json-schema.org/draft-04/schema#', |
455 | 455 | 'title' => "{$this->parent_post_type}-revision", |
456 | 456 | 'type' => 'object', |
457 | 457 | // Base properties for every Revision. |
diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php
index 17a01b8..1618e35 100644
a
|
b
|
class WP_REST_Settings_Controller extends WP_REST_Controller { |
274 | 274 | $options = $this->get_registered_options(); |
275 | 275 | |
276 | 276 | $schema = array( |
277 | | '$schema' => 'http://json-schema.org/schema#', |
| 277 | '$schema' => 'http://json-schema.org/draft-04/schema#', |
278 | 278 | 'title' => 'settings', |
279 | 279 | 'type' => 'object', |
280 | 280 | 'properties' => array(), |
diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php
index ea97135..9720a20 100644
a
|
b
|
class WP_REST_Taxonomies_Controller extends WP_REST_Controller { |
228 | 228 | */ |
229 | 229 | public function get_item_schema() { |
230 | 230 | $schema = array( |
231 | | '$schema' => 'http://json-schema.org/schema#', |
| 231 | '$schema' => 'http://json-schema.org/draft-04/schema#', |
232 | 232 | 'title' => 'taxonomy', |
233 | 233 | 'type' => 'object', |
234 | 234 | 'properties' => array( |
diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php
index 0723022..7dfa95a 100644
a
|
b
|
class WP_REST_Terms_Controller extends WP_REST_Controller { |
803 | 803 | */ |
804 | 804 | public function get_item_schema() { |
805 | 805 | $schema = array( |
806 | | '$schema' => 'http://json-schema.org/schema#', |
| 806 | '$schema' => 'http://json-schema.org/draft-04/schema#', |
807 | 807 | 'title' => 'post_tag' === $this->taxonomy ? 'tag' : $this->taxonomy, |
808 | 808 | 'type' => 'object', |
809 | 809 | 'properties' => array( |
diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php
index 58046ba..816b40b 100644
a
|
b
|
class WP_REST_Users_Controller extends WP_REST_Controller { |
1128 | 1128 | */ |
1129 | 1129 | public function get_item_schema() { |
1130 | 1130 | $schema = array( |
1131 | | '$schema' => 'http://json-schema.org/schema#', |
| 1131 | '$schema' => 'http://json-schema.org/draft-04/schema#', |
1132 | 1132 | 'title' => 'user', |
1133 | 1133 | 'type' => 'object', |
1134 | 1134 | 'properties' => array( |