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
This commit is contained in:
Ryan Boren 2004-11-23 17:51:34 +00:00
parent 7ed7543a6d
commit 5966136272
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];