Changeset 54210 for trunk/src/wp-includes/block-template-utils.php
- Timestamp:
- 09/19/2022 07:49:47 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-template-utils.php
r54184 r54210 553 553 554 554 $theme = $terms[0]->name; 555 $template_file = _get_block_template_file( $post->post_type, $post->post_name );555 $template_file = _get_block_template_file( $post->post_type, $post->post_name ); 556 556 $has_theme_file = wp_get_theme()->get_stylesheet() === $theme && null !== $template_file; 557 557
Note: See TracChangeset
for help on using the changeset viewer.