typo/confusion, earlier patch committed in haste
git-svn-id: http://svn.automattic.com/wordpress/trunk@1724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e8a1744ac0
commit
20fc6e6625
|
@ -322,7 +322,7 @@ function get_settings($setting) {
|
||||||
$option = $wpdb->get_var("SELECT option_value FROM $wpdb->options WHERE option_name = '$setting'");
|
$option = $wpdb->get_var("SELECT option_value FROM $wpdb->options WHERE option_name = '$setting'");
|
||||||
|
|
||||||
if (!$option) :
|
if (!$option) :
|
||||||
$cache_nonexistantoptions[] = $setting;
|
$cache_nonexistantoptions[$setting] = true;
|
||||||
return false;
|
return false;
|
||||||
endif;
|
endif;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue