Skip to:
Content

BuddyPress.org


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-core.php

    r4066 r3447  
    285285        bp_core_install();
    286286}
    287 add_action( is_multisite() ? 'network_admin_menu' : 'admin_menu', 'bp_core_check_installed' );
     287add_action( 'admin_menu', 'bp_core_check_installed' );
    288288
    289289/**
     
    301301        return false;
    302302
    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 */
    308304    bp_core_add_admin_menu_page( array(
    309305        'menu_title' => __( 'BuddyPress', 'buddypress' ),
     
    317313    add_submenu_page( 'bp-general-settings', __( 'Component Setup', 'buddypress'), __( 'Component Setup', 'buddypress' ), 'manage_options', 'bp-component-setup', 'bp_core_admin_component_setup' );
    318314}
    319 add_action( is_multisite() ? 'network_admin_menu' : 'admin_menu', 'bp_core_add_admin_menu' );
     315add_action( 'admin_menu', 'bp_core_add_admin_menu' );
    320316
    321317/**
Note: See TracChangeset for help on using the changeset viewer.