From f517a9c06ceeacea88ba7b59fd643b0a91605008 Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 20 Feb 2006 17:15:13 +0000 Subject: [PATCH] Use current_time() instead of time(). fixes #2489 git-svn-id: http://svn.automattic.com/wordpress/trunk@3559 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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'];