diff --git a/wp-content/themes/twentyeleven/inc/theme-options.php b/wp-content/themes/twentyeleven/inc/theme-options.php index 3b91775bb..66e564815 100644 --- a/wp-content/themes/twentyeleven/inc/theme-options.php +++ b/wp-content/themes/twentyeleven/inc/theme-options.php @@ -177,7 +177,10 @@ function twentyeleven_get_default_theme_options() { * @since Twenty Eleven 1.0 */ function twentyeleven_get_theme_options() { - return get_option( 'twentyeleven_theme_options' ); + $options = get_option( 'twentyeleven_theme_options' ); + if ( false === $options ) + return twentyeleven_get_default_theme_options(); + return $options; } /**