Changes between Initial Version and Version 1 of Ticket #43308, comment 5
- Timestamp:
- 02/14/2018 11:17:40 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #43308, comment 5
initial v1 1 I also don't think loading `admin.php` is a good idea. This basically loads all of WordPress. The point of having `load-scripts.php` and `load-styles.php` is to '''not''' load WordPress three times on every page load. That's why they use a whitelist to process only registeredscripts and stylesheets.1 I also don't think loading `admin.php` is a good idea. This basically loads all of WordPress. The point of having `load-scripts.php` and `load-styles.php` is to '''not''' load WordPress three times on every page load. That's why they use a whitelist to process only default scripts and stylesheets. 2 2 3 3 As @Clorith points out, there are better ways to prevent malicious use of the loading mechanism. Also, loading default scripts and styles has to work for non-authenticated users on the front-end.