Change how get_settings errors are returned.
git-svn-id: http://svn.automattic.com/wordpress/trunk@708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
da2fc24f4d
commit
4ef7999064
|
@ -550,7 +550,7 @@ function get_settings($setting) {
|
|||
$settings = $cache_settings;
|
||||
}
|
||||
if (!isset($settings->$setting)) {
|
||||
error_log("get_settings: Didn't find setting $setting");
|
||||
return false;
|
||||
}
|
||||
else {
|
||||
return $settings->$setting;
|
||||
|
|
Loading…
Reference in New Issue