- 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-settings-controller.php
r43571 r45811 271 271 */ 272 272 public function get_item_schema() { 273 if ( $this->schema ) { 274 return $this->add_additional_fields_schema( $this->schema ); 275 } 276 273 277 $options = $this->get_registered_options(); 274 278 … … 287 291 } 288 292 289 return $this->add_additional_fields_schema( $schema ); 293 $this->schema = $schema; 294 return $this->add_additional_fields_schema( $this->schema ); 290 295 } 291 296
Note: See TracChangeset
for help on using the changeset viewer.