From 4a2c4fcdbbc4ab80efabbf1c50ae1de66ddc3a88 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Tue, 14 Sep 2004 07:19:16 +0000 Subject: [PATCH] Load the currently active theme into the theme editor upon first visit rather than Default. git-svn-id: https://develop.svn.wordpress.org/trunk@1646 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/theme-editor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/theme-editor.php b/wp-admin/theme-editor.php index ea1db0492f..4b16fad5cf 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'];