Make WordPress Core

Changeset 3559


Ignore:
Timestamp:
02/20/2006 05:15:13 PM (20 years ago)
Author:
ryan
Message:

Use current_time() instead of time(). fixes #2489

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r3558 r3559  
    23652365
    23662366    foreach ($crons as $timestamp => $cronhooks) {
    2367         if ($timestamp > time()) break;
     2367        if ($timestamp > current_time( 'timestamp' )) break;
    23682368        foreach($cronhooks as $hook => $args) {
    23692369            do_action($hook, $args['args']);
Note: See TracChangeset for help on using the changeset viewer.