Changeset 39106
- Timestamp:
- 11/03/2016 02:21:48 AM (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
r39105 r39106 1089 1089 public function get_item_schema() { 1090 1090 $schema = array( 1091 '$schema' => 'http://json-schema.org/ draft-04/schema#',1091 '$schema' => 'http://json-schema.org/schema#', 1092 1092 'title' => 'comment', 1093 1093 'type' => 'object', -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php
r39024 r39106 244 244 public function get_item_schema() { 245 245 $schema = array( 246 '$schema' => 'http://json-schema.org/ draft-04/schema#',246 '$schema' => 'http://json-schema.org/schema#', 247 247 'title' => 'status', 248 248 'type' => 'object', -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php
r39097 r39106 200 200 public function get_item_schema() { 201 201 $schema = array( 202 '$schema' => 'http://json-schema.org/ draft-04/schema#',202 '$schema' => 'http://json-schema.org/schema#', 203 203 'title' => 'type', 204 204 'type' => 'object', -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
r39105 r39106 1656 1656 1657 1657 $schema = array( 1658 '$schema' => 'http://json-schema.org/ draft-04/schema#',1658 '$schema' => 'http://json-schema.org/schema#', 1659 1659 'title' => $this->post_type, 1660 1660 'type' => 'object', -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php
r39028 r39106 377 377 public function get_item_schema() { 378 378 $schema = array( 379 '$schema' => 'http://json-schema.org/ draft-04/schema#',379 '$schema' => 'http://json-schema.org/schema#', 380 380 'title' => "{$this->parent_post_type}-revision", 381 381 'type' => 'object', -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php
r39058 r39106 283 283 284 284 $schema = array( 285 '$schema' => 'http://json-schema.org/ draft-04/schema#',285 '$schema' => 'http://json-schema.org/schema#', 286 286 'title' => 'settings', 287 287 'type' => 'object', -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php
r39105 r39106 231 231 public function get_item_schema() { 232 232 $schema = array( 233 '$schema' => 'http://json-schema.org/ draft-04/schema#',233 '$schema' => 'http://json-schema.org/schema#', 234 234 'title' => 'taxonomy', 235 235 'type' => 'object', -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php
r39105 r39106 798 798 public function get_item_schema() { 799 799 $schema = array( 800 '$schema' => 'http://json-schema.org/ draft-04/schema#',800 '$schema' => 'http://json-schema.org/schema#', 801 801 'title' => 'post_tag' === $this->taxonomy ? 'tag' : $this->taxonomy, 802 802 'type' => 'object', -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php
r39105 r39106 996 996 public function get_item_schema() { 997 997 $schema = array( 998 '$schema' => 'http://json-schema.org/ draft-04/schema#',998 '$schema' => 'http://json-schema.org/schema#', 999 999 'title' => 'user', 1000 1000 'type' => 'object',
Note: See TracChangeset
for help on using the changeset viewer.