Skip to:
Content

BuddyPress.org

Changeset 3713 for trunk/bp-xprofile.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-xprofile.php

    r3709 r3713  
    7676    add_submenu_page( 'bp-general-settings', __( 'Profile Field Setup', 'buddypress' ), __( 'Profile Field Setup', 'buddypress' ), 'manage_options', 'bp-profile-setup', 'xprofile_admin' );
    7777}
    78 is_multisite() ? add_action( 'network_admin_menu', 'xprofile_add_admin_menu' ) : add_action( 'admin_menu', 'xprofile_add_admin_menu' );
     78add_action( is_multisite() ? 'network_admin_menu' : 'admin_menu', 'xprofile_add_admin_menu' );
    7979
    8080/**
Note: See TracChangeset for help on using the changeset viewer.