- 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-search-controller.php
r45267 r45811 212 212 */ 213 213 public function get_item_schema() { 214 if ( $this->schema ) { 215 return $this->add_additional_fields_schema( $this->schema ); 216 } 217 214 218 $types = array(); 215 219 $subtypes = array(); … … 263 267 ); 264 268 265 return $this->add_additional_fields_schema( $schema ); 269 $this->schema = $schema; 270 return $this->add_additional_fields_schema( $this->schema ); 266 271 } 267 272
Note: See TracChangeset
for help on using the changeset viewer.