From 4ead4e0a3f4166a7ca9693d153797d4739add871 Mon Sep 17 00:00:00 2001 From: Ben Word Date: Wed, 10 Aug 2011 21:59:09 -0600 Subject: [PATCH] closes pull req #113 - thx @mwrather --- inc/roots-options.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/roots-options.php b/inc/roots-options.php index 1777ea2..ba12076 100644 --- a/inc/roots-options.php +++ b/inc/roots-options.php @@ -140,9 +140,9 @@ function roots_add_frameworks_object_script() { } add_action('admin_head', 'roots_add_frameworks_object_script'); -function roots_get_default_theme_options() { +function roots_get_default_theme_options($default_framework = '') { global $roots_css_frameworks; - $default_framework = 'blueprint'; + if ($default_framework == '') { $default_framework = apply_filters('roots_default_css_framework', 'blueprint'); } $default_framework_settings = $roots_css_frameworks[$default_framework]; $default_theme_options = array( 'css_framework' => $default_framework, @@ -174,7 +174,7 @@ function roots_theme_options_render_page() {