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

WordPress Trac noreply at wordpress.org
Fri Jan 28 14:57:26 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 greenshady):

 > This is a possible regression - how likely is it that a block theme's
 templates/index.html would be empty or have no single blocks/template
 parts? - Genuine question.

 I am actually building a one-page theme and using `front-page.html` for
 the main/only template, which I thought made the most sense in this case.
 Currently, I have an `index.html` with the Post Content block in it for
 testing, but I had considered making this an empty template altogether.
 The reason I even have an `index.html` template there is because it is
 necessary to "register" it as a block theme with WP.

 So, it's at least something I've thought about and a good question.  It's
 not released yet, so I'll wait for this ticket to run its course before
 making any final decisions.

 Ideally, we'd also have a `"isBlockTheme":true` flag in `theme.json` to
 specifically enable it instead of running file checks.

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


More information about the wp-trac mailing list