From 24f330346d610ae556e4ee5663d9d2d55351ce4b Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 20 Feb 2006 17:15:13 +0000 Subject: [PATCH] Use current_time() instead of time(). fixes #2489 git-svn-id: https://develop.svn.wordpress.org/trunk@3559 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'];