Skip to:
Content

BuddyPress.org

Changeset 5967


Ignore:
Timestamp:
04/06/2012 11:45:15 PM (13 years ago)
Author:
boonebgorges
Message:

Hooks BP_Admin::admin_notices() to network_admin_notices, so that upgrade notices appear in the Network Admin as well as the regular Dashboard. Fixes #4125

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-admin.php

    r5937 r5967  
    165165        // Add notice if not using a BuddyPress theme
    166166        add_action( 'admin_notices',         array( $this, 'admin_notices' ) );
    167 
     167        add_action( 'network_admin_notices', array( $this, 'admin_notices' ) );
     168       
    168169        // Enqueue all admin JS and CSS
    169170        add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts'   ) );
Note: See TracChangeset for help on using the changeset viewer.