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))