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:
dd32 2010-06-08 11:04:51 +00:00
parent a0729014b8
commit ebe57d5b69
1 changed files with 1 additions and 1 deletions

View File

@ -628,7 +628,7 @@ function search_theme_directories() {
@closedir($stylish_dir); @closedir($stylish_dir);
} }
} }
@closedir($theme_subdir); @closedir($theme_subdirs);
if ( !$found_subdir_themes ) if ( !$found_subdir_themes )
$wp_broken_themes[$theme_dir] = array('Name' => $theme_dir, 'Title' => $theme_dir, 'Description' => __('Stylesheet is missing.')); $wp_broken_themes[$theme_dir] = array('Name' => $theme_dir, 'Title' => $theme_dir, 'Description' => __('Stylesheet is missing.'));
} }