[wp-trac] [WordPress Trac] #49824: Site Health instantiation prevents use of some hooks by plugins.
WordPress Trac
noreply at wordpress.org
Fri Apr 10 03:55:22 UTC 2020
#49824: Site Health instantiation prevents use of some hooks by plugins.
---------------------------+------------------------
Reporter: peterwilsoncc | Owner: whyisjake
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.4.1
Component: Site Health | Version: 5.4
Severity: normal | Resolution: fixed
Keywords: commit | Focuses:
---------------------------+------------------------
Changes (by whyisjake):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"47568" 47568]:
{{{
#!CommitTicketReference repository="" revision="47568"
Site Health instantiation prevents use of some hooks by plugins.
As the WP_Site_Health class is instantiated prior to plugins being
required and the `plugins_loaded` hook being fired, it prevents plugins
from using the following hooks in the functions called by
`maybe_create_scheduled_event()`.
Fixes #49824.
Props peterwilsoncc, whyisjake.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49824#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list