[wp-trac] [WordPress Trac] #14391: Cron Jobs work on wrong time
WordPress Trac
wp-trac at lists.automattic.com
Thu Jul 22 17:00:17 UTC 2010
#14391: Cron Jobs work on wrong time
---------------------------+------------------------------------------------
Reporter: danielhuesken | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Cron | Version: 3.0
Severity: normal | Keywords: cron
---------------------------+------------------------------------------------
Comment(by nacin):
The cron API uses GMT time, not local time. Note time() in wp-
includes/cron.php and check_and_publish_future_post() trying to
strtotime() the post's post_date_gmt.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14391#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list