Skip to:
Content

BuddyPress.org

Changeset 3713 for trunk/bp-forums.php


Ignore:
Timestamp:
01/14/2011 11:49:17 PM (15 years ago)
Author:
johnjamesjacoby
Message:

Switch verbiage from 'upgrade' to 'update' and adjust is_multisite() admin_menu/network_admin_menu action checks. Also rename bp-core-upgrade.php to bp-core-update.php.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-forums.php

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