Changeset 56093 for trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php
- Timestamp:
- 06/28/2023 03:51:23 PM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php
r55822 r56093 711 711 */ 712 712 public function get_item_schema() { 713 if ( $this->schema ) { 714 return $this->add_additional_fields_schema( $this->schema ); 715 } 716 713 717 $schema = array( 714 718 '$schema' => 'http://json-schema.org/draft-04/schema#', … … 915 919 } 916 920 917 return $this->add_additional_fields_schema( $schema ); 921 $this->schema = $schema; 922 923 return $this->add_additional_fields_schema( $this->schema ); 918 924 } 919 925
Note: See TracChangeset
for help on using the changeset viewer.