From cdb2fa6a66cc7af18811221478a2636bce241997 Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 29 Oct 2008 22:59:47 +0000 Subject: [PATCH] Fix the fix git-svn-id: http://svn.automattic.com/wordpress/trunk@9407 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/cron.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/cron.php b/wp-includes/cron.php index c321c5bf9..ba18acd64 100644 --- a/wp-includes/cron.php +++ b/wp-includes/cron.php @@ -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