Changes in branches/1.2/bp-core.php [4066:3447]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/bp-core.php
r4066 r3447 285 285 bp_core_install(); 286 286 } 287 add_action( is_multisite() ? 'network_admin_menu' :'admin_menu', 'bp_core_check_installed' );287 add_action( 'admin_menu', 'bp_core_check_installed' ); 288 288 289 289 /** … … 301 301 return false; 302 302 303 // If this is WP 3.1+ and multisite is enabled, only load on the Network Admin 304 if ( is_multisite() && function_exists( 'is_network_admin' ) && ! is_network_admin() ) 305 return false; 306 307 // Add the administration tab under the "Site Admin" tab for site administrators 303 /* Add the administration tab under the "Site Admin" tab for site administrators */ 308 304 bp_core_add_admin_menu_page( array( 309 305 'menu_title' => __( 'BuddyPress', 'buddypress' ), … … 317 313 add_submenu_page( 'bp-general-settings', __( 'Component Setup', 'buddypress'), __( 'Component Setup', 'buddypress' ), 'manage_options', 'bp-component-setup', 'bp_core_admin_component_setup' ); 318 314 } 319 add_action( is_multisite() ? 'network_admin_menu' :'admin_menu', 'bp_core_add_admin_menu' );315 add_action( 'admin_menu', 'bp_core_add_admin_menu' ); 320 316 321 317 /**
Note: See TracChangeset
for help on using the changeset viewer.