[wp-trac] [WordPress Trac] #17957: wp_reschedule_event & daylight saving

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 23 15:35:24 UTC 2012


#17957: wp_reschedule_event & daylight saving
-------------------------+------------------------------
 Reporter:  MattyRob     |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Cron         |     Version:  3.2
 Severity:  normal       |  Resolution:  invalid
 Keywords:               |
-------------------------+------------------------------
Changes (by MattyRob):

 * keywords:  reporter-feedback =>
 * status:  new => closed
 * resolution:   => invalid


Comment:

 I'd forgotten all about this ticket! :)

 I think, on looking at my coded plugins that I must have figured out to
 use time() at some point and started using that rather than
 current_time().

 This might be more of a documentation fix then:
 http://codex.wordpress.org/Function_Reference/wp_schedule_event
 This page says to use current_time('timestamp');

 http://codex.wordpress.org/Function_Reference/wp_reschedule_event
 This page doesn't specify

 So, is the PHP time(); function bet or the WordPress
 current_time('timestamp');?

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


More information about the wp-trac mailing list