Make WordPress Core

Ticket #58520: 58520-1.diff

File 58520-1.diff, 531 bytes (added by nihar007, 20 months ago)

Patch added

  • src/wp-includes/class-wp-theme.php

    diff --git a/src/wp-includes/class-wp-theme.php b/src/wp-includes/class-wp-theme.php
    index 7cde57f4f9..a292b893ae 100644
    a b final class WP_Theme implements ArrayAccess { 
    15151515                }
    15161516
    15171517                $paths_to_index_block_template = array(
    1518                         $this->get_file_path( '/block-templates/index.html' ),
    15191518                        $this->get_file_path( '/templates/index.html' ),
     1519                        $this->get_file_path( '/block-templates/index.html' ),
    15201520                );
    15211521
    15221522                $this->block_theme = false;