From a80864dbf5134abff16142d5d19c02f99e4e8681 Mon Sep 17 00:00:00 2001 From: rboren Date: Tue, 23 Nov 2004 17:51:34 +0000 Subject: [PATCH] Fix array_merge of stylesheets and templates. Patch from kharris. git-svn-id: http://svn.automattic.com/wordpress/trunk@1876 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 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];