Fix the fix

git-svn-id: http://svn.automattic.com/wordpress/trunk@9407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-10-29 22:59:47 +00:00
parent 25f4e26d33
commit cdb2fa6a66
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ function spawn_cron( $local_time ) {
if ( $timestamp > $local_time )
return;
$cron_url = 'http://' . $_SERVER['SERVER_ADDR'] . '/wp-cron.php?check=' . wp_hash('187425');
$cron_url = get_option( 'siteurl' ) . '/wp-cron.php?check=' . wp_hash('187425');
/*
* multiple processes on multiple web servers can run this code concurrently
* try to make this as atomic as possible by setting doing_cron switch