summaryrefslogtreecommitdiffstats
path: root/wp-cron.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-08-10 22:19:11 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-08-10 22:19:11 +0000
commit69a120282949dc8a5526a7486751bc07aea44d9d (patch)
tree9485c819fbf9b2e118db2267629501ebb00fb0e5 /wp-cron.php
parent9c59b9cf9db84c636a7e9b66440bb1dd9ac78be5 (diff)
downloadwordpress-mu-69a120282949dc8a5526a7486751bc07aea44d9d.zip
wordpress-mu-69a120282949dc8a5526a7486751bc07aea44d9d.tar.gz
wordpress-mu-69a120282949dc8a5526a7486751bc07aea44d9d.tar.xz
WP Merge
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@721 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-cron.php')
-rw-r--r--wp-cron.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/wp-cron.php b/wp-cron.php
index c0e9de7..4b0c4ce 100644
--- a/wp-cron.php
+++ b/wp-cron.php
@@ -7,7 +7,8 @@ if ( $_GET['check'] != md5(DB_PASS . '187425') )
exit;
$crons = get_option('cron');
-if (!is_array($crons) || array_shift(array_keys($crons)) > time())
+$keys = array_keys($crons);
+if (!is_array($crons) || $keys[0] > time())
return;
foreach ($crons as $timestamp => $cronhooks) {
if ($timestamp > time()) break;