Changeset 3775 for branches/1.2/bp-core.php
- Timestamp:
- 01/20/2011 09:08:27 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/bp-core.php
r3447 r3775 286 286 } 287 287 add_action( 'admin_menu', 'bp_core_check_installed' ); 288 add_action( 'network_admin_menu', 'bp_core_check_installed' ); 288 289 289 290 /** … … 301 302 return false; 302 303 303 /* Add the administration tab under the "Site Admin" tab for site administrators */ 304 // If this is WP 3.1+ and multisite is enabled, only load on the Network Admin 305 if ( is_multisite() && function_exists( 'is_network_admin' ) && ! is_network_admin() ) 306 return false; 307 308 // Add the administration tab under the "Site Admin" tab for site administrators 304 309 bp_core_add_admin_menu_page( array( 305 310 'menu_title' => __( 'BuddyPress', 'buddypress' ), … … 314 319 } 315 320 add_action( 'admin_menu', 'bp_core_add_admin_menu' ); 321 add_action( 'network_admin_menu', 'bp_core_add_admin_menu' ); 316 322 317 323 /**
Note: See TracChangeset
for help on using the changeset viewer.