From 878dd99bc26122886d4e3b7b83092cf48a8d476e Mon Sep 17 00:00:00 2001 From: ryan Date: Sun, 17 Feb 2008 22:17:55 +0000 Subject: [PATCH] Don't include CSS on action pages. git-svn-id: http://svn.automattic.com/wordpress/trunk@6889 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/theme-editor.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-admin/theme-editor.php b/wp-admin/theme-editor.php index 337bf2681f..7d375f1ad7 100644 --- a/wp-admin/theme-editor.php +++ b/wp-admin/theme-editor.php @@ -5,7 +5,6 @@ $title = __("Edit Themes"); $parent_file = 'themes.php'; wp_reset_vars(array('action', 'redirect', 'profile', 'error', 'warning', 'a', 'file', 'theme')); -wp_admin_css( 'css/theme-editor' ); $themes = get_themes(); @@ -65,6 +64,8 @@ default: require_once('admin-header.php'); + wp_admin_css( 'css/theme-editor' ); + update_recently_edited($file); if (!is_file($real_file))