[wp-trac] [WordPress Trac] #54272: Allow block themes to be activated without index.php

WordPress Trac noreply at wordpress.org
Wed Mar 16 18:29:00 UTC 2022


#54272: Allow block themes to be activated without index.php
------------------------------+-----------------------------
 Reporter:  poena             |       Owner:  SergeyBiryukov
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  6.0
Component:  Themes            |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  template
------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"52940" 52940]:
 {{{
 #!CommitTicketReference repository="" revision="52940"
 Themes: Allow block themes to be activated without `index.php`.

 This removes the requirement for block themes to have an unused
 `index.php` template just for activation, as they use a
 `templates/index.html` file instead.

 The updated requirements are as follows:

 * Standalone themes need to have a `templates/index.html` or `index.php`
 template file.
 * Child themes need to have a `Template` header in the `style.css`
 stylesheet.

 Follow-up to [52069], [52247].

 Props poena, sabbirshouvo, scruffian, manfcarlo, overclokk, andraganescu,
 SergeyBiryukov.
 Fixes #54272.
 }}}

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


More information about the wp-trac mailing list