Changeset 55086 for trunk/src/wp-includes/theme-templates.php
- Timestamp:
- 01/18/2023 11:38:16 AM (3 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/theme-templates.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/theme-templates.php
r54817 r55086 210 210 */ 211 211 function wp_enable_block_templates() { 212 if ( wp_is_block_theme() || WP_Theme_JSON_Resolver::theme_has_support() ) {212 if ( wp_is_block_theme() || wp_theme_has_theme_json() ) { 213 213 add_theme_support( 'block-templates' ); 214 214 }
Note: See TracChangeset
for help on using the changeset viewer.