[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:57:26 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:
---------------------------+------------------------

Comment (by whyisjake):

 In [changeset:"47569" 47569]:
 {{{
 #!CommitTicketReference repository="" revision="47569"
 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()`.

 Brings [47568] to the 5.4 branch.

 Fixes #49824.

 Props peterwilsoncc, whyisjake.
 }}}

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


More information about the wp-trac mailing list