- 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-terms-controller.php
r45723 r45811 857 857 */ 858 858 public function get_item_schema() { 859 if ( $this->schema ) { 860 return $this->add_additional_fields_schema( $this->schema ); 861 } 862 859 863 $schema = array( 860 864 '$schema' => 'http://json-schema.org/draft-04/schema#', … … 925 929 $schema['properties']['meta'] = $this->meta->get_field_schema(); 926 930 927 return $this->add_additional_fields_schema( $schema ); 931 $this->schema = $schema; 932 return $this->add_additional_fields_schema( $this->schema ); 928 933 } 929 934
Note: See TracChangeset
for help on using the changeset viewer.