diff --git a/wp-admin/theme-editor.php b/wp-admin/theme-editor.php index ed668835b..2e6000291 100644 --- a/wp-admin/theme-editor.php +++ b/wp-admin/theme-editor.php @@ -26,7 +26,7 @@ if (empty($theme)) { $theme = get_current_theme(); } -$allowed_files = array_merge($themes[$theme]['Stylesheet Files'], $allowed_files, $themes[$theme]['Template Files']); +$allowed_files = array_merge($themes[$theme]['Stylesheet Files'], $themes[$theme]['Template Files']); if (empty($file)) { $file = $allowed_files[0];