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

git-svn-id: http://svn.automattic.com/wordpress/trunk@3559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2006-02-20 17:15:13 +00:00
parent 605d4a617a
commit f517a9c06c
1 changed files with 1 additions and 1 deletions

View File

@ -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'];