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

WordPress Trac noreply at wordpress.org
Thu Aug 11 06:46:07 UTC 2016


#36819: Load plugin.php earlier in wp-settings.php
------------------------------------------+---------------------
 Reporter:  jorbin                        |       Owner:  jorbin
     Type:  task (blessed)                |      Status:  closed
 Priority:  normal                        |   Milestone:  4.6
Component:  Bootstrap/Load                |     Version:
 Severity:  normal                        |  Resolution:  fixed
 Keywords:  has-patch 2nd-opinion commit  |     Focuses:
------------------------------------------+---------------------

Comment (by pento):

 Replying to [comment:31 westi]:
 > It also looks like it makes it impossible for an advanced-cache dropin
 to remove an already registered filter/action hook?

 You're killing me, @westi.

 That's correct, advanced-cache dropins can no longer remove a hook that
 was registered earlier in the load process.

 It's something we could potentially allow for, but it would cause a
 performance hit - rather than skipping an unchanged `$wp_fliter`,
 `_restore_plugin_globals()` would need to compare every entry in
 `$wp_filter` with its backup on every page load.

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


More information about the wp-trac mailing list