Make WordPress Core

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#2489 closed defect (bug) (fixed)

Scheduled entries are unscheduled if timezone is different to server time

Reported by: donncha's profile donncha Owned by: ryan's profile ryan
Milestone: 2.1 Priority: highest omg bbq
Severity: blocker Version: 2.0.1
Component: General Keywords: scheduled posts
Focuses: Cc:

Description

The wp_cron() function uses time() instead of current_time( 'timestamp' ) to work. If the blog is in a different timezone to the server time then the cron job may be deleted.

Attachments (1)

patch.txt (289 bytes) - added by donncha 16 years ago.
Apply to wp-include/functions.php

Download all attachments as: .zip

Change History (3)

@donncha
16 years ago

Apply to wp-include/functions.php

#1 @ryan
16 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [3559]) Use current_time() instead of time(). fixes #2489

#2 @ryan
16 years ago

  • Milestone set to 2.1
Note: See TracTickets for help on using tickets.