- Timestamp:
- 08/15/2019 09:08:05 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php
r45444 r45811 297 297 */ 298 298 public function get_item_schema() { 299 if ( $this->schema ) { 300 return $this->add_additional_fields_schema( $this->schema ); 301 } 302 299 303 $schema = $this->revisions_controller->get_item_schema(); 300 304 … … 307 311 ); 308 312 309 return $schema; 313 $this->schema = $schema; 314 return $this->add_additional_fields_schema( $this->schema ); 310 315 } 311 316
Note: See TracChangeset
for help on using the changeset viewer.