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

WordPress Trac noreply at wordpress.org
Wed Mar 16 18:15:52 UTC 2022


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

Comment (by SergeyBiryukov):

 Replying to [comment:2 manfcarlo]:
 > What are the security implications of omitting index.php?

 I think including an empty `index.php` file to prevent directory listing
 may still be a good practice, but it does not have to be a requirement for
 themes.

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


More information about the wp-trac mailing list