[wp-trac] [WordPress Trac] #36819: Load plugin.php earlier in wp-settings.php

WordPress Trac noreply at wordpress.org
Thu May 12 03:55:00 UTC 2016


#36819: Load plugin.php earlier in wp-settings.php
----------------------------+------------------
 Reporter:  jorbin          |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  4.6
Component:  Bootstrap/Load  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+------------------

Comment (by dd32):

 > This could potentially affect `advance-cache.php`, if it is preloading
 and changing the filter globals

 For one such example of that, see Batcache:
 https://plugins.trac.wordpress.org/browser/batcache/trunk/advanced-
 cache.php#L538

 Batcache appears to be "safe" as it doesn't first do `$wp_filter =
 array()`, however there's bound to be others that do.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36819#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list