diff --git a/wp-admin/theme-editor.php b/wp-admin/theme-editor.php index ea1db0492..4b16fad5c 100644 --- a/wp-admin/theme-editor.php +++ b/wp-admin/theme-editor.php @@ -92,7 +92,7 @@ default: $themes = get_themes(); if (! isset($theme) || empty($theme)) { - $theme = 'Default'; + $theme = get_current_theme(); } $stylesheet_files = $themes[$theme]['Stylesheet Files'];