- 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-revisions-controller.php
r45267 r45811 607 607 */ 608 608 public function get_item_schema() { 609 if ( $this->schema ) { 610 return $this->add_additional_fields_schema( $this->schema ); 611 } 612 609 613 $schema = array( 610 614 '$schema' => 'http://json-schema.org/draft-04/schema#', … … 683 687 } 684 688 685 return $this->add_additional_fields_schema( $schema ); 689 $this->schema = $schema; 690 return $this->add_additional_fields_schema( $this->schema ); 686 691 } 687 692
Note: See TracChangeset
for help on using the changeset viewer.