[wp-trac] [WordPress Trac] #54910: 5.9 Bug - Blank Home Page

WordPress Trac noreply at wordpress.org
Wed Jan 26 05:29:08 UTC 2022


#54910: 5.9 Bug - Blank Home Page
--------------------------+------------------------------
 Reporter:  cantuaria     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Themes        |     Version:  5.9
 Severity:  major         |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by sabernhardt):

 * component:  General => Themes


Comment:

 Hi and thanks for the report!

 The [https://core.trac.wordpress.org/browser/tags/5.9/src/wp-includes
 /class-wp-theme.php#L1478 block-based themes] require a readable
 index.html file in both the 'block-templates' and 'templates' directories,
 so you apparently had the two directories.

 To avoid directory browsing, you could switch one or both of those index
 files to an [https://core.trac.wordpress.org/browser/tags/5.9/src/wp-
 content/themes/index.php index.php] file.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54910#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list