From dfc2f5ffb610f55a2a5145e56e68d1a1bf56183b Mon Sep 17 00:00:00 2001 From: Ben Word Date: Sun, 5 Jun 2011 15:14:58 -0600 Subject: [PATCH] matching update to twentyeleven options --- inc/roots-options.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/inc/roots-options.php b/inc/roots-options.php index 9901c93..8a8396d 100644 --- a/inc/roots-options.php +++ b/inc/roots-options.php @@ -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() {