summaryrefslogtreecommitdiffstats
path: root/wp-admin
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-07-17 14:37:16 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-07-17 14:37:16 +0000
commit88a4dedfdad6db651f8f63d93ab1170bd2074f5a (patch)
treea63b1bf04d14f34a6c2ae756410a90418345b62f /wp-admin
parent49e234ff60879f52106b3e69bcee1abb0fe2f7ec (diff)
downloadwordpress-mu-88a4dedfdad6db651f8f63d93ab1170bd2074f5a.tar.gz
wordpress-mu-88a4dedfdad6db651f8f63d93ab1170bd2074f5a.tar.xz
wordpress-mu-88a4dedfdad6db651f8f63d93ab1170bd2074f5a.zip
Only show this message to site admins. fixes #679, props axelseaa
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1382 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin')
-rw-r--r--wp-admin/plugins.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/wp-admin/plugins.php b/wp-admin/plugins.php
index 00742d1..15996ae 100644
--- a/wp-admin/plugins.php
+++ b/wp-admin/plugins.php
@@ -312,7 +312,9 @@ function print_plugins_table($plugins, $context = '') {
<?php print_plugins_table($active_plugins, 'active') ?>
</form>
+<?php if( is_site_admin() ) { ?>
<p><?php printf(__('If something goes wrong with a plugin and you can&#8217;t use WordPress, delete or rename that file in the <code>%s</code> directory and it will be automatically deactivated.'), WP_PLUGIN_DIR); ?></p>
+<?php } ?>
<?php endif; ?>
<?php if ( ! empty($recent_plugins) ) : ?>