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

WordPress Trac noreply at wordpress.org
Sun Oct 17 18:53:41 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       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+---------------------
Changes (by sabbirshouvo):

 * Attachment "54272.diff" added.

 Allow block themes without `index.php` if either `index.php` or `block-
 templates/index.html` is present in a theme folder, theme will activate
 without any issue. If a theme missing both, a notice will be shown as
 previous.

-- 
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