[wp-trac] [WordPress Trac] #18546: Add index.php to wp-includes and wp-admin/includes
WordPress Trac
noreply at wordpress.org
Thu Jan 21 22:11:14 UTC 2021
#18546: Add index.php to wp-includes and wp-admin/includes
------------------------------------+-----------------------------
Reporter: SergeyBiryukov | Owner: SergeyBiryukov
Type: enhancement | Status: accepted
Priority: normal | Milestone: Future Release
Component: Bootstrap/Load | Version: 3.2
Severity: normal | Resolution:
Keywords: dev-feedback has-patch | Focuses:
------------------------------------+-----------------------------
Comment (by xkon):
This looked really interesting after todays devchat (I know it went to
Future but I wanted to check it out).
[attachment:"18546.4.diff"] makes some minor adjustments on top of
[attachment:"18546.2.diff"] and also adds the `build:protect_folders`
(sorry for renaming :D) as the last step of `npm run build` as mentioned
in comment [comment:34].
Since we're checking for existing `index.php` and also have the `wx` flag
I changed the folder arrays also to exclude only the libraries mentioned
in comment [comment:31]. The additional folders from the previous patch
already contain an index so they should be fine from the checks :) (
fingers crossed haha ).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/18546#comment:39>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list