diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2008-04-22 15:56:15 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2008-04-22 15:56:15 +0000 |
commit | 435123ed33a2b51ca7d0eecbe812fd915d7a5782 (patch) | |
tree | 65b24e320433166f73e0a8f3d56e84400f9ee856 /wp-admin/includes | |
parent | fb5854743f014e1ebd84f30e8e91984841c040a9 (diff) | |
download | wordpress-mu-435123ed33a2b51ca7d0eecbe812fd915d7a5782.tar.gz wordpress-mu-435123ed33a2b51ca7d0eecbe812fd915d7a5782.tar.xz wordpress-mu-435123ed33a2b51ca7d0eecbe812fd915d7a5782.zip |
Remove plugins widget from dashboard as users won't be able to use them anyway, fixes #599
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1257 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/includes')
-rw-r--r-- | wp-admin/includes/mu.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/wp-admin/includes/mu.php b/wp-admin/includes/mu.php index 9a57663..a1af9b4 100644 --- a/wp-admin/includes/mu.php +++ b/wp-admin/includes/mu.php @@ -655,4 +655,9 @@ function secret_salt_warning() { } add_action( 'admin_notices', 'secret_salt_warning' ); +function mu_dashboard() { + unregister_sidebar_widget( 'dashboard_plugins' ); +} +add_action( 'wp_dashboard_setup', 'mu_dashboard' ); + ?> |