- Timestamp:
- 06/28/2023 03:51:23 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php
r55822 r56093 524 524 */ 525 525 public function get_item_schema() { 526 if ( $this->schema ) { 527 return $this->add_additional_fields_schema( $this->schema ); 528 } 529 526 530 $schema = parent::get_item_schema(); 527 531 unset( $schema['properties']['count'], $schema['properties']['link'], $schema['properties']['taxonomy'] ); … … 567 571 ); 568 572 569 return $schema; 573 $this->schema = $schema; 574 575 return $this->add_additional_fields_schema( $this->schema ); 570 576 } 571 577 }
Note: See TracChangeset
for help on using the changeset viewer.