Use the correct variable name. See #13778
git-svn-id: https://develop.svn.wordpress.org/trunk@15167 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f178115189
commit
e4b69457fb
|
@ -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.'));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue