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

WordPress Trac noreply at wordpress.org
Tue Jul 29 13:02:02 UTC 2014


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

 * keywords:  has-patch => has-patch 4.1-early


Old description:

> See #19818 for full details.
>
> Then, [https://core.trac.wordpress.org/ticket/19818#comment:8 read my
> comment in that ticket].
>
> Was advised to create a new ticket.

New description:

 See #19818 for full details.

 Then, [https://core.trac.wordpress.org/ticket/19818#comment:8 read my
 comment in that ticket]. Was advised to create a new ticket.

 We need to run 'wp_cron' later than the default priority of 10 to allow
 plugins that run on this hook to properly initialize.

 In the patch, I've bumped the priority to 99. Let me know what you think.

--

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


More information about the wp-trac mailing list