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

WordPress Trac noreply at wordpress.org
Fri Jan 28 12:35:43 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:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+------------------------------

Comment (by antonvlasenko):

 Replying to [comment:1 sabernhardt]:
 > 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.

 `index.html` file has to be present in either `block-templates` or
 `templates` directory for a theme to be recognized as a block theme. It
 doesn't have to be present in both directories. Just saying.

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


More information about the wp-trac mailing list