Changeset 12765
- Timestamp:
- 01/19/2010 06:15:53 PM (16 years ago)
- Location:
- trunk/wp-admin/includes
- Files:
-
- 2 edited
-
dashboard.php (modified) (1 diff)
-
ms.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/dashboard.php
r12733 r12765 47 47 48 48 // WP Plugins Widget 49 if ( current_user_can( ' activate_plugins' ) )49 if ( current_user_can( 'install_plugins' ) ) 50 50 wp_add_dashboard_widget( 'dashboard_plugins', __( 'Plugins' ), 'wp_dashboard_plugins' ); 51 51 -
trunk/wp-admin/includes/ms.php
r12764 r12765 665 665 } 666 666 add_action( 'admin_notices', 'secret_salt_warning' ); 667 668 function mu_dashboard() {669 unregister_sidebar_widget( 'dashboard_plugins' );670 }671 add_action( 'wp_dashboard_setup', 'mu_dashboard' );672 667 673 668 function profile_update_primary_blog() {
Note: See TracChangeset
for help on using the changeset viewer.