From 2b63884467e3ecbfd4600b2f402c2bcf9a7955dd Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 4 Aug 2008 19:19:05 +0000 Subject: [PATCH] Don't use wp_guess_url(). Caused big problems. see #4779 git-svn-id: https://develop.svn.wordpress.org/trunk@8537 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 79033b305b..7925a2c7f7 100644 --- a/wp-includes/cron.php +++ b/wp-includes/cron.php @@ -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)); }