Ticket #14696: 14696.3.diff
File 14696.3.diff, 684 bytes (added by , 14 years ago) |
---|
-
wp-admin/includes/dashboard.php
104 104 if ( is_network_admin() ) { 105 105 do_action( 'wp_network_dashboard_setup' ); 106 106 $dashboard_widgets = apply_filters( 'wp_network_dashboard_widgets', array() ); 107 } else { 107 } else if ( is_user_admin() ) { 108 do_action( 'wp_user_dashboard_setup' ); 109 $dashboard_widgets = apply_filters( 'wp_user_dashboard_widgets', array() ); 110 } else 108 111 do_action( 'wp_dashboard_setup' ); 109 112 $dashboard_widgets = apply_filters( 'wp_dashboard_widgets', array() ); 110 113 }