Fix the fix
git-svn-id: https://develop.svn.wordpress.org/trunk@9407 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a76105406a
commit
1f781cae47
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user