- Timestamp:
- 08/15/2019 09:08:05 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php
r44138 r45811 148 148 */ 149 149 public function get_item_schema() { 150 if ( $this->schema ) { 151 return $this->add_additional_fields_schema( $this->schema ); 152 } 153 150 154 $schema = array( 151 155 '$schema' => 'http://json-schema.org/draft-04/schema#', … … 178 182 ); 179 183 180 return $this->add_additional_fields_schema( $schema ); 184 $this->schema = $schema; 185 return $this->add_additional_fields_schema( $this->schema ); 181 186 } 182 187
Note: See TracChangeset
for help on using the changeset viewer.