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

WordPress Trac noreply at wordpress.org
Sat Oct 16 08:41:43 UTC 2021


#54272: Allow block themes to be activated without index.php
-------------------------+--------------------
 Reporter:  poena        |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  5.9
Component:  Themes       |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+--------------------
 Block themes (themes built with support for full site editing) have to
 include an index.php file to be activated, even though the new format does
 not use index.php, but index.html
 (inside a {{{block-templates}}} folder).

 Block themes should not need to include this unused file in order to be
 activated.

 If the theme does not include index.php, this message is shown:
 ''Template is missing. Standalone themes need to have a index.php template
 file''

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


More information about the wp-trac mailing list