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

WordPress Trac noreply at wordpress.org
Tue May 10 14:07:28 UTC 2022


#55682: Allow block themes to be uploaded without index.php
-----------------------------------------------------+---------------------
 Reporter:  FlorianBrinkmann                         |       Owner:  (none)
     Type:  enhancement                              |      Status:  new
 Priority:  normal                                   |   Milestone:  6.0
Component:  Themes                                   |     Version:  trunk
 Severity:  normal                                   |  Resolution:
 Keywords:  has-patch has-testing-info dev-feedback  |     Focuses:
-----------------------------------------------------+---------------------

Comment (by hellofromTonya):

 [https://github.com/WordPress/wordpress-develop/pull/2692/files#r869284760
 as noted in the PR], PR 2692 changed the behavior for classic themes.

 - Before this PR, a classic theme without a `index.php` file could not be
 uploaded.
 - After this PR, it can be if it has a `templates/index.html` file.

 Is this problematic?

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


More information about the wp-trac mailing list