Changeset 56093 for trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-block-patterns-controller.php
- 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-block-patterns-controller.php
r56063 r56093 200 200 */ 201 201 public function get_item_schema() { 202 if ( $this->schema ) { 203 return $this->add_additional_fields_schema( $this->schema ); 204 } 205 202 206 $schema = array( 203 207 '$schema' => 'http://json-schema.org/draft-04/schema#', … … 288 292 ); 289 293 290 return $this->add_additional_fields_schema( $schema ); 294 $this->schema = $schema; 295 296 return $this->add_additional_fields_schema( $this->schema ); 291 297 } 292 298 }
Note: See TracChangeset
for help on using the changeset viewer.