Changeset 54210 for trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php
- Timestamp:
- 09/19/2022 07:49:47 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php
r54155 r54210 257 257 } 258 258 259 $schema 259 $schema = $this->get_item_schema(); 260 260 // Fields deprecated in WordPress 6.1, but left in the schema for backwards compatibility. 261 261 $deprecated_fields = array( … … 689 689 'readonly' => true, 690 690 ), 691 'keywords' => $keywords_definition,692 'example' => $example_definition,691 'keywords' => $keywords_definition, 692 'example' => $example_definition, 693 693 ), 694 694 ); 695 695 696 696 // Properties deprecated in WordPress 6.1, but left in the schema for backwards compatibility. 697 $deprecated_properties = array(697 $deprecated_properties = array( 698 698 'editor_script' => array( 699 699 'description' => __( 'Editor script handle. DEPRECATED: Use `editor_script_handles` instead.' ),
Note: See TracChangeset
for help on using the changeset viewer.