Wrong var name.
git-svn-id: https://develop.svn.wordpress.org/trunk@3177 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5f54b206a7
commit
0872d8f9d7
|
@ -414,7 +414,7 @@ function __get_option($setting) {
|
|||
|
||||
$option = $wpdb->get_var("SELECT option_value FROM $wpdb->options WHERE option_name = '$setting'");
|
||||
|
||||
if ( 'home' == $setting && '' == $value )
|
||||
if ( 'home' == $setting && '' == $option )
|
||||
return __get_option('siteurl');
|
||||
|
||||
if ( 'siteurl' == $setting || 'home' == $setting || 'category_base' == $setting )
|
||||
|
|
Loading…
Reference in New Issue