summaryrefslogtreecommitdiffstats
path: root/wp-includes/cron.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/cron.php')
-rw-r--r--wp-includes/cron.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-includes/cron.php b/wp-includes/cron.php
index 116a24a..6f3d6b0 100644
--- a/wp-includes/cron.php
+++ b/wp-includes/cron.php
@@ -80,7 +80,7 @@ function spawn_cron() {
if ( array_shift( $keys ) > time() )
return;
- $cron_url = get_settings( 'siteurl' ) . '/wp-cron.php';
+ $cron_url = get_option( 'siteurl' ) . '/wp-cron.php';
$parts = parse_url( $cron_url );
$argyle = @ fsockopen( $parts['host'], $_SERVER['SERVER_PORT'], $errno, $errstr, 0.01 );