Changeset 41731
- Timestamp:
- 10/04/2017 02:51:03 PM (8 years ago)
- Location:
- trunk/src/wp-includes/rest-api/endpoints
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php
r41727 r41731 1142 1142 public function get_item_schema() { 1143 1143 $schema = array( 1144 '$schema' => 'http://json-schema.org/ schema#',1144 '$schema' => 'http://json-schema.org/draft-04/schema#', 1145 1145 'title' => 'comment', 1146 1146 'type' => 'object', -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php
r41162 r41731 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', -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php
r41162 r41731 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', -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
r41727 r41731 1686 1686 1687 1687 $schema = array( 1688 '$schema' => 'http://json-schema.org/ schema#',1688 '$schema' => 'http://json-schema.org/draft-04/schema#', 1689 1689 'title' => $this->post_type, 1690 1690 'type' => 'object', -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php
r41588 r41731 453 453 public function get_item_schema() { 454 454 $schema = array( 455 '$schema' => 'http://json-schema.org/ schema#',455 '$schema' => 'http://json-schema.org/draft-04/schema#', 456 456 'title' => "{$this->parent_post_type}-revision", 457 457 'type' => 'object', -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php
r41162 r41731 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', -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php
r41162 r41731 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', -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php
r41588 r41731 805 805 public function get_item_schema() { 806 806 $schema = array( 807 '$schema' => 'http://json-schema.org/ schema#',807 '$schema' => 'http://json-schema.org/draft-04/schema#', 808 808 'title' => 'post_tag' === $this->taxonomy ? 'tag' : $this->taxonomy, 809 809 'type' => 'object', -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php
r41588 r41731 1130 1130 public function get_item_schema() { 1131 1131 $schema = array( 1132 '$schema' => 'http://json-schema.org/ schema#',1132 '$schema' => 'http://json-schema.org/draft-04/schema#', 1133 1133 'title' => 'user', 1134 1134 'type' => 'object',
Note: See TracChangeset
for help on using the changeset viewer.