- Timestamp:
- 06/20/2023 10:15:57 PM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php
r53760 r55951 327 327 } 328 328 329 if ( rest_is_field_included( 'is_block_theme', $fields ) ) { 330 $data['is_block_theme'] = $theme->is_block_theme(); 331 } 332 329 333 $data = $this->add_additional_fields_to_object( $data, $request ); 330 334 … … 495 499 ), 496 500 ), 501 'is_block_theme' => array( 502 'description' => __( 'Whether the theme is a block-based theme.' ), 503 'type' => 'boolean', 504 'readonly' => true, 505 ), 497 506 'name' => array( 498 507 'description' => __( 'The name of the theme.' ),
Note: See TracChangeset
for help on using the changeset viewer.