Make WordPress Core

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


Ignore:
Timestamp:
02/14/2018 11:17:40 AM (8 years ago)
Author:
azaozz
Comment:

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 registered scripts and stylesheets.
     1I 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
    33As @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.