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
This commit is contained in:
rboren 2004-11-23 17:51:34 +00:00
parent aa2fbccf6f
commit a80864dbf5
1 changed files with 1 additions and 1 deletions

View File

@ -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];