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

git-svn-id: https://develop.svn.wordpress.org/trunk@3559 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2006-02-20 17:15:13 +00:00
parent 5177b31702
commit 24f330346d
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'];