Changeset 53417 for branches/6.0/src/wp-includes/class-wp-theme.php
- Timestamp:
- 05/20/2022 12:59:55 AM (3 years ago)
- Location:
- branches/6.0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.0
-
branches/6.0/src/wp-includes/class-wp-theme.php
r53254 r53417 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.