Return false if we don't find the option.

git-svn-id: http://svn.automattic.com/wordpress/trunk@3028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2005-11-10 20:59:20 +00:00
parent a9aa2b0e8d
commit 03567e7d88
1 changed files with 2 additions and 0 deletions

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;
}
}