Changes between Version 1 and Version 2 of Ticket #43308, comment 5
- Timestamp:
- 02/14/2018 11:19:23 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #43308, comment 5
v1 v2 1 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 As @Clorith points out, there are better ways to prevent malicious use of the loading mechanism . Also, loadingdefault scripts and styles has to work for non-authenticated users on the front-end.3 As @Clorith points out, there are better ways to prevent malicious use of the loading mechanism, and loading of default scripts and styles has to work for non-authenticated users on the front-end.