mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Wrong var name.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9947a83ae2
commit
58aa471101
@ -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
Block a user