Changeset 53416 for trunk/src/wp-includes/class-wp-theme.php
- Timestamp:
- 05/20/2022 12:47:45 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme.php
r53254 r53416 342 342 $theme_path = $this->theme_root . '/' . $this->stylesheet; 343 343 344 if ( ! file_exists( $theme_path . '/templates/index.html' ) 344 if ( 345 ! file_exists( $theme_path . '/templates/index.html' ) 346 && ! file_exists( $theme_path . '/block-templates/index.html' ) // Deprecated path support since 5.9.0. 345 347 && ! file_exists( $theme_path . '/index.php' ) 346 348 ) {
Note: See TracChangeset
for help on using the changeset viewer.