[wp-trac] [WordPress Trac] #18546: Add index.php to wp-includes and wp-admin/includes

WordPress Trac noreply at wordpress.org
Tue Jul 7 14:31:26 UTC 2020


#18546: Add index.php to wp-includes and wp-admin/includes
-------------------------------------------------+-------------------------
 Reporter:  SergeyBiryukov                       |       Owner:
                                                 |  SergeyBiryukov
     Type:  enhancement                          |      Status:  accepted
 Priority:  normal                               |   Milestone:  5.6
Component:  Bootstrap/Load                       |     Version:  3.2
 Severity:  normal                               |  Resolution:
 Keywords:  dev-feedback has-patch needs-        |     Focuses:
  refresh                                        |
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):

 * milestone:  5.5 => 5.6


Comment:

 I don't think the `index.php` files should be added to external libraries:
 * `js/_enqueues/vendor`
 * `wp-includes/ID3`
 * `wp-includes/PHPMailer`
 * `wp-includes/Requests`
 * `wp-includes/SimplePie`
 * `wp-includes/sodium_compat`
 * `wp-includes/Text`

 Moving to 5.6 to work on a build task to handle this in a consistent way
 when new directories are added.

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


More information about the wp-trac mailing list