Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #43308, comment 5


Ignore:
Timestamp:
02/14/2018 11:19:23 AM (7 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #43308, comment 5

    v1 v2  
    11I 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.
    22
    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.
     3As @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.