Don't use wp_guess_url(). Caused big problems. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
92589dee21
commit
b8dc4a3377
|
@ -88,7 +88,7 @@ function spawn_cron() {
|
|||
if ( array_shift( $keys ) > time() )
|
||||
return;
|
||||
|
||||
$cron_url = wp_guess_url() . 'wp-cron.php?check=' . wp_hash('187425');
|
||||
$cron_url = get_option( 'siteurl' ) . '/wp-cron.php?check=' . wp_hash('187425');
|
||||
|
||||
wp_remote_post($cron_url, array('timeout' => 0.01, 'blocking' => false));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue