matching update to twentyeleven options

This commit is contained in:
Ben Word
2011-06-05 15:14:58 -06:00
parent 4981fd7e4c
commit dfc2f5ffb6

View File

@@ -87,10 +87,7 @@ function roots_get_default_theme_options() {
}
function roots_get_theme_options() {
$roots_options = get_option('roots_theme_options');
if (false === $roots_options)
return roots_get_default_theme_options();
return $roots_options;
return get_option('roots_theme_options', roots_get_default_theme_options());
}
function theme_options_render_page() {