[wp-trac] [WordPress Trac] #49824: Site Health instantiation prevents use of some hooks by plugins.
WordPress Trac
noreply at wordpress.org
Tue Apr 7 03:54:39 UTC 2020
#49824: Site Health instantiation prevents use of some hooks by plugins.
---------------------------+---------------------
Reporter: peterwilsoncc | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.4.1
Component: Site Health | Version: 5.4
Severity: normal | Resolution:
Keywords: | Focuses:
---------------------------+---------------------
Comment (by peterwilsoncc):
Replying to [comment:1 Clorith]:
> Hmm, I don't think there's any problem with re-prioritizing it so that
it instantiates later, did you have anything specific in mind?
Nothing specific. In the linked pull request, GH-216, I've moved it to
immediately following the `after_setup_theme` hook. Largely at random but
it now has access to pluggable functions, follows `wp_cache_postload()` if
it's defined.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49824#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list