[wp-trac] [WordPress Trac] #36819: Load plugin.php earlier in wp-settings.php
WordPress Trac
noreply at wordpress.org
Thu Aug 11 06:35:44 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 westi):
Replying to [comment:29 andy]:
> Nicely! I'd like to mention that since batcache I have used the same
pattern several times, adding filters even as early as
[http://php.net/manual/en/ini.core.php#ini.auto-prepend-file
auto_prepend_file]. I would never clobber the core arrays, nor would spend
any time accommodating that abuse case beyond detecting and exiting
loudly.
+1
I think that the work that was put in to support the idea the arrays might
get clobbered is a little over done.
It also looks like it makes it impossible for an advanced-cache dropin to
remove an already registered filter/action hook?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36819#comment:31>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list