From 59661362723e998c0c47a92a4fea4865649b960f Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Tue, 23 Nov 2004 17:51:34 +0000 Subject: [PATCH] Fix array_merge of stylesheets and templates. Patch from kharris. git-svn-id: https://develop.svn.wordpress.org/trunk@1876 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 ed668835bf..2e60002912 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];