summaryrefslogtreecommitdiffstats
path: root/wp-admin/themes.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-09-12 14:07:22 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-09-12 14:07:22 +0000
commit0b0999055d4c8134de142d0f78818d77d818f567 (patch)
tree1704a7c1f8578af2ebec416b6a2e8fc3227a941a /wp-admin/themes.php
parent5aa6ad6448578b22f8f1b10b88df9083f965868b (diff)
downloadwordpress-mu-0b0999055d4c8134de142d0f78818d77d818f567.tar.gz
wordpress-mu-0b0999055d4c8134de142d0f78818d77d818f567.tar.xz
wordpress-mu-0b0999055d4c8134de142d0f78818d77d818f567.zip
Check that user is a site admin before listing broken themes
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@738 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/themes.php')
-rw-r--r--wp-admin/themes.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-admin/themes.php b/wp-admin/themes.php
index 5441e18..3f7b2c6 100644
--- a/wp-admin/themes.php
+++ b/wp-admin/themes.php
@@ -115,7 +115,7 @@ foreach ($theme_names as $theme_name) {
<?php
// List broken themes, if any.
$broken_themes = get_broken_themes();
-if ( count($broken_themes) ) {
+if ( is_site_admin() && count($broken_themes) ) {
?>
<h2><?php _e('Broken Themes'); ?></h2>