[wp-trac] [WordPress Trac] #18546: Add index.php to wp-includes and wp-admin/includes
WordPress Trac
noreply at wordpress.org
Mon May 4 17:15:01 UTC 2020
#18546: Add index.php to wp-includes and wp-admin/includes
-------------------------------------------------+-------------------------
Reporter: SergeyBiryukov | Owner: (none)
Type: enhancement | Status: reopened
Priority: normal | Milestone: Awaiting
| Review
Component: Bootstrap/Load | Version: 3.2
Severity: normal | Resolution:
Keywords: dev-feedback has-patch needs- | Focuses:
refresh |
-------------------------------------------------+-------------------------
Comment (by Otto42):
Replying to [comment:18 jonoaldersonwp]:
> Adding index files to all folders is the only viable/reliable/universal
solution to this.
This is true and I agree. It is unfortunate that it is necessary for web
applications to need to solve what is essentially a server configuration
error, and it feels kinda hacky, but if including some zero byte files
fixes the issue more effectively than education, then so be it.
Question: Should it be index.php, or index.html? Or index.htm? What
provides the most coverage? Might as well get it right the first time.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/18546#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list