[wp-trac] [WordPress Trac] #43308: Alter behavior load-scripts.php and load-styles.php to reduce potentially adverse scenarios
WordPress Trac
noreply at wordpress.org
Wed Feb 14 23:30:53 UTC 2018
#43308: Alter behavior load-scripts.php and load-styles.php to reduce potentially
adverse scenarios
---------------------------+--------------------
Reporter: youngcp | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 5.0
Component: Script Loader | Version: 4.9.4
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
---------------------------+--------------------
Comment (by youngcp):
Current work is as follows...
Code Review: https://github.com/WordPress/WordPress/pull/344/files
Diff: https://github.com/WordPress/WordPress/pull/344.diff
Patch: https://github.com/WordPress/WordPress/pull/344.patch
Reduces possible cache surface for WAL friendliness to 650 (325
combinations of files * 2 for compression) URLs.
Changes noop.php to function_exists check each function definition.
Performs 'SHORTINIT' of WordPress (up to) 2 times on an uncached requests
to `wp-admin/load-scripts.php` and `wp-admin/load-styles.php`.
Let me know if I messed up any code styling or anything.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43308#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list