diff --git a/src/wp-includes/class-wp-theme.php b/src/wp-includes/class-wp-theme.php index 6ed07f0d85..827e43de91 100644 --- a/src/wp-includes/class-wp-theme.php +++ b/src/wp-includes/class-wp-theme.php @@ -1515,8 +1515,8 @@ final class WP_Theme implements ArrayAccess { } $paths_to_index_block_template = array( - $this->get_file_path( '/block-templates/index.html' ), $this->get_file_path( '/templates/index.html' ), + $this->get_file_path( '/block-templates/index.html' ), ); $this->block_theme = false;