[wp-trac] [WordPress Trac] #18546: Add index.php to wp-includes and wp-admin/includes
WordPress Trac
noreply at wordpress.org
Mon May 4 19:07:31 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 AnotherDave):
Indeed, until WordPress has index.php files in the folders of the core
package, index.html is a safe choice.
I can't imagine any host not having .html enabled, but there might be some
that don't have .htm enabled. (And if you're using WordPress, they
obviously have .php enabled).
Knowing the priority on the server - your host can easily tell you the
priority order of index file extensions on your server, just ask them.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/18546#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list