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

WordPress Trac noreply at wordpress.org
Thu May 5 14:05:44 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:  needs-patch       |     Focuses:
------------------------------+---------------------
Changes (by SergeyBiryukov):

 * keywords:   => needs-patch
 * component:  General => Themes
 * milestone:  Awaiting Review => 6.0


Old description:

> In https://core.trac.wordpress.org/changeset/52940 it was made possible
> to activate a block theme without an `index.php`, but that file is still
> a requirement when uploading a theme via the theme install screen (tested
> with WP 6 RC1). I think that should not be the case, when activating is
> possible without it.
>
> To reproduce: Try to upload a ZIP containing a block theme without an
> index.php file-

New description:

 In [52940] it was made possible to activate a block theme without an
 `index.php`, but that file is still a requirement when uploading a theme
 via the theme install screen (tested with WP 6 RC1). I think that should
 not be the case, when activating is possible without it.

 To reproduce: Try to upload a ZIP containing a block theme without an
 index.php file-

--

Comment:

 Hi there, welcome back to WordPress Trac! Thanks for the ticket.

 Moving to the milestone for visibility, just in case this should be
 addressed for 6.0. Otherwise, I think this can be moved to 6.0.1 or 6.1.

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


More information about the wp-trac mailing list