Use the correct variable name. See #13778
git-svn-id: http://svn.automattic.com/wordpress/trunk@15167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a0729014b8
commit
ebe57d5b69
|
@ -628,7 +628,7 @@ function search_theme_directories() {
|
|||
@closedir($stylish_dir);
|
||||
}
|
||||
}
|
||||
@closedir($theme_subdir);
|
||||
@closedir($theme_subdirs);
|
||||
if ( !$found_subdir_themes )
|
||||
$wp_broken_themes[$theme_dir] = array('Name' => $theme_dir, 'Title' => $theme_dir, 'Description' => __('Stylesheet is missing.'));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue