Return false if we don't find the option.

git-svn-id: https://develop.svn.wordpress.org/trunk@3028 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2005-11-10 20:59:20 +00:00
parent 7b5bed4809
commit ad772b5e63

View File

@ -271,6 +271,8 @@ function get_settings($setting) {
if( is_object( $value ) ) {
$value = $value->option_value;
wp_cache_set($setting, $value, 'options');
} else {
return false;
}
}