Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/06/2011 03:08:24 PM (13 years ago)
Author:
boonebgorges
Message:

Rehooks main WP admin bar items to core admin_bar_menu hook, so that we have greater control over the way our menus are ordered with respect to WP core menus. See #3596

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-members/bp-members-adminbar.php

    r5211 r5213  
    168168    ) );
    169169}
    170 add_action( 'bp_setup_admin_bar', 'bp_members_admin_bar_user_admin_menu', 99 );
     170add_action( 'admin_bar_menu', 'bp_members_admin_bar_user_admin_menu', 99 );
    171171
    172172/**
     
    215215    return;
    216216}
    217 add_action( 'bp_setup_admin_bar', 'bp_members_admin_bar_notifications_menu', 999 );
     217add_action( 'admin_bar_menu', 'bp_members_admin_bar_notifications_menu', 90 );
    218218
    219219/**
     
    241241    }
    242242}
    243 add_action( 'bp_setup_admin_bar', 'bp_members_admin_bar_my_account_logout', 9999 );
     243add_action( 'admin_bar_menu', 'bp_members_admin_bar_my_account_logout', 9999 );
    244244
    245245?>
Note: See TracChangeset for help on using the changeset viewer.