Changeset 52364 for trunk/src/wp-includes/block-template-utils.php
- Timestamp:
- 12/14/2021 01:55:28 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-template-utils.php
r52340 r52364 42 42 $theme_dir = "$root_dir/$theme_name"; 43 43 44 if ( is_readable( $theme_dir . '/block-templates/index.html' ) ) {44 if ( file_exists( $theme_dir . '/block-templates' ) || file_exists( $theme_dir . '/block-template-parts' ) ) { 45 45 return array( 46 46 'wp_template' => 'block-templates',
Note: See TracChangeset
for help on using the changeset viewer.