diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 85fcacf70a..0c3cda29cb 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -2364,7 +2364,7 @@ function wp_cron() { return; foreach ($crons as $timestamp => $cronhooks) { - if ($timestamp > time()) break; + if ($timestamp > current_time( 'timestamp' )) break; foreach($cronhooks as $hook => $args) { do_action($hook, $args['args']); $recurrence = $args['recur'];