Make WordPress Core

Changeset 26394


Ignore:
Timestamp:
11/26/2013 05:28:46 AM (11 years ago)
Author:
helen
Message:

Don't show the Activity widget on the Network Admin Dashboard. props ocean90. fixes #26184.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/dashboard.php

    r26392 r26394  
    4444
    4545    // Activity Widget
    46     wp_add_dashboard_widget( 'dashboard_activity', __( 'Activity' ), 'wp_dashboard_activity' );
     46    if ( is_blog_admin() ) {
     47        wp_add_dashboard_widget( 'dashboard_activity', __( 'Activity' ), 'wp_dashboard_activity' );
     48    }
    4749
    4850    // QuickPress Widget
Note: See TracChangeset for help on using the changeset viewer.