[wp-trac] [WordPress Trac] #25557: wp_next_scheduled May Return Wrong Timestamp

WordPress Trac noreply at wordpress.org
Sat Oct 12 08:35:38 UTC 2013


#25557: wp_next_scheduled May Return Wrong Timestamp
--------------------------+----------------------
 Reporter:  model13       |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Cron          |     Version:  3.6.1
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |
--------------------------+----------------------

Comment (by leewillis77):

 Cron entries are sorted when they're inserted (See
 http://core.trac.wordpress.org/browser/trunk/src/wp-
 includes/cron.php#L80). If cron items are coming back in the wrong order,
 it's likely that whatever is adding them is doing them manually rather
 than using wp_schedule_event(). If you manager to reproduce this with
 entries added via the standard API, you can of course re-open this.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25557#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list