[wp-trac] [WordPress Trac] #19431: wp_next_scheduled reruns start time, not next time
WordPress Trac
wp-trac at lists.automattic.com
Sat Dec 3 06:52:58 UTC 2011
#19431: wp_next_scheduled reruns start time, not next time
--------------------------+-----------------------------
Reporter: maccast | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Cron | Version: 3.2.1
Severity: normal | Keywords:
--------------------------+-----------------------------
When I call wp_next_scheduled() instead of getting the timestamp plus the
recurrance interval, the function appears to just return the timestamp.
The timestamp is the value set by the wp_schedule_event() method and is
the UNIX timestamp of when the event was scheduled. Since
wp_next_scheduled() is supposed to: "Returns the next timestamp for a cron
event." shouldn't return the timestamp + recurrence interval value?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19431>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list