Changeset 45811 for trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php
- Timestamp:
- 08/15/2019 09:08:05 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php
r43571 r45811 277 277 */ 278 278 public function get_item_schema() { 279 if ( $this->schema ) { 280 return $this->add_additional_fields_schema( $this->schema ); 281 } 282 279 283 $schema = array( 280 284 '$schema' => 'http://json-schema.org/draft-04/schema#', … … 374 378 ), 375 379 ); 376 return $this->add_additional_fields_schema( $schema ); 380 381 $this->schema = $schema; 382 return $this->add_additional_fields_schema( $this->schema ); 377 383 } 378 384
Note: See TracChangeset
for help on using the changeset viewer.