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:
ryan
2006-08-30 21:46:31 +00:00
parent c6019230fc
commit 849a0d29d7
70 changed files with 365 additions and 365 deletions

View File

@@ -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 );