Changeset 52247 for trunk/src/wp-includes/theme.php
- Timestamp:
- 11/25/2021 10:57:19 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/theme.php
r52110 r52247 4085 4085 */ 4086 4086 function wp_is_block_template_theme() { 4087 return is_readable( get_theme_file_path( '/block-templates/index.html' ) ); 4088 } 4087 return is_readable( get_theme_file_path( '/block-templates/index.html' ) ) || 4088 is_readable( get_theme_file_path( '/templates/index.html' ) ); 4089 }
Note: See TracChangeset
for help on using the changeset viewer.