Use get_option instead of get_settings. Just 'cause.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user