List broken themes and suggest corrective action.

git-svn-id: https://develop.svn.wordpress.org/trunk@1829 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2004-10-24 23:48:51 +00:00
parent 4b81c51c9b
commit d3f7d9e4c8
3 changed files with 62 additions and 5 deletions

View File

@@ -572,6 +572,13 @@ function validate_current_theme() {
return true;
}
function get_broken_themes() {
global $wp_broken_themes;
get_themes();
return $wp_broken_themes;
}
function get_page_templates() {
$themes = get_themes();
$theme = get_current_theme();