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:
parent
7ed7543a6d
commit
5966136272
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user