Changeset 55086 for trunk/src/wp-includes/block-template-utils.php
- Timestamp:
- 01/18/2023 11:38:16 AM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-template-utils.php
r54998 r55086 348 348 */ 349 349 function _add_block_template_info( $template_item ) { 350 if ( ! WP_Theme_JSON_Resolver::theme_has_support() ) {350 if ( ! wp_theme_has_theme_json() ) { 351 351 return $template_item; 352 352 } … … 371 371 */ 372 372 function _add_block_template_part_area_info( $template_info ) { 373 if ( WP_Theme_JSON_Resolver::theme_has_support() ) {373 if ( wp_theme_has_theme_json() ) { 374 374 $theme_data = WP_Theme_JSON_Resolver::get_theme_data( array(), array( 'with_supports' => false ) )->get_template_parts(); 375 375 }
Note: See TracChangeset
for help on using the changeset viewer.