Skip to:
Content

BuddyPress.org

Changeset 3709 for trunk/bp-forums.php


Ignore:
Timestamp:
01/14/2011 07:42:25 AM (14 years ago)
Author:
johnjamesjacoby
Message:

Add multisite checks to xprofile and forums components to make sure admin menus, css, and JS are loaded correctly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-forums.php

    r3660 r3709  
    137137    add_submenu_page( 'bp-general-settings', __( 'Forums Setup', 'buddypress' ), __( 'Forums Setup', 'buddypress' ), 'manage_options', 'bb-forums-setup', "bp_forums_bbpress_admin" );
    138138}
    139 add_action( 'admin_menu', 'bp_forums_add_admin_menu' );
     139is_multisite() ? add_action( 'network_admin_menu', 'bp_forums_add_admin_menu' ) : add_action( 'admin_menu', 'bp_forums_add_admin_menu' );
    140140
    141141/* Forum Functions */
Note: See TracChangeset for help on using the changeset viewer.