[wp-trac] [WordPress Trac] #24160: ALTERNATE_WP_CRON runs wp_cron() too early

WordPress Trac noreply at wordpress.org
Thu Jan 24 23:14:38 UTC 2019


#24160: ALTERNATE_WP_CRON runs wp_cron() too early
-----------------------------+-----------------------------
 Reporter:  r-a-y            |       Owner:  (none)
     Type:  defect (bug)     |      Status:  reopened
 Priority:  normal           |   Milestone:  Future Release
Component:  Cron API         |     Version:  3.4
 Severity:  normal           |  Resolution:
 Keywords:  has-patch early  |     Focuses:
-----------------------------+-----------------------------

Comment (by peterwilsoncc):

 From #37542:

 This can be an issue for sites registering custom taxonomies. Taxos can
 not be registered prior to the `init` hook but using the default priority
 causes the taxo to be registered after the cron hook fires when using
 alternative cron.

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


More information about the wp-trac mailing list