Changeset 1257

Show
Ignore:
Timestamp:
04/22/08 15:56:15 (8 months ago)
Author:
donncha
Message:

Remove plugins widget from dashboard as users won't be able to use them anyway, fixes #599

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-admin/includes/mu.php

    r1254 r1257  
    656656add_action( 'admin_notices', 'secret_salt_warning' ); 
    657657 
     658function mu_dashboard() { 
     659        unregister_sidebar_widget( 'dashboard_plugins' ); 
     660} 
     661add_action( 'wp_dashboard_setup', 'mu_dashboard' ); 
     662 
    658663?>