diff --git a/wp-content/themes/twentyeleven/inc/theme-options.php b/wp-content/themes/twentyeleven/inc/theme-options.php index 78be3b5aad..bb521d0011 100644 --- a/wp-content/themes/twentyeleven/inc/theme-options.php +++ b/wp-content/themes/twentyeleven/inc/theme-options.php @@ -339,10 +339,9 @@ function twentyeleven_settings_field_layout() { * @since Twenty Eleven 1.2 */ function twentyeleven_theme_options_render_page() { + $theme_name = function_exists( 'wp_get_theme' ) ? wp_get_theme()->display( 'Name' ) : get_option( 'current_theme' ); ?>
- -