From eec208f7bd4ff384085d58966e9e3e6a776dce58 Mon Sep 17 00:00:00 2001 From: rboren 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: http://svn.automattic.com/wordpress/trunk@1646 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 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'];