Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/28/2011 10:30:03 PM (13 years ago)
Author:
djpaul
Message:

Relocates the top-level BuddyPress admin menu to under the Settings and Users menus. Maintains compatibility with third-party plugins that add their admin menus under the old top-level BP menu. See #3708.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile/bp-xprofile-admin.php

    r5329 r5406  
    2323        return false;
    2424
    25     $hook = add_submenu_page( 'bp-general-settings', __( 'Profile Fields', 'buddypress' ), __( 'Profile Fields', 'buddypress' ), 'manage_options', 'bp-profile-setup', 'xprofile_admin' );
     25    $hook = add_users_page( __( 'Profile Fields', 'buddypress' ), __( 'Profile Fields', 'buddypress' ), 'manage_options', 'bp-profile-setup', 'xprofile_admin' );
    2626
    2727    add_action( "admin_print_styles-$hook", 'bp_core_add_admin_menu_styles' );
     
    7272        <h2>
    7373
    74             <?php _e( 'Extended Profile Fields', 'buddypress'); ?>
     74            <?php _e( 'Profile Fields', 'buddypress'); ?>
    7575
    7676            <a id="add_group" class="button add-new-h2" href="admin.php?page=bp-profile-setup&amp;mode=add_group"><?php _e( 'Add New Group', 'buddypress' ); ?></a>
Note: See TracChangeset for help on using the changeset viewer.