Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/06/2011 03:08:24 PM (14 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-core/bp-core-adminbar.php

    r5212 r5213  
    108108    }
    109109}
    110 add_action( 'bp_setup_admin_bar', 'bp_admin_bar_root_site', 3 );
     110add_action( 'admin_bar_menu', 'bp_admin_bar_root_site', 15 );
    111111
    112112/**
     
    142142    }
    143143}
    144 add_action( 'bp_setup_admin_bar', 'bp_admin_bar_my_sites_menu', 3 );
     144add_action( 'admin_bar_menu', 'bp_admin_bar_my_sites_menu', 17 );
    145145
    146146/**
Note: See TracChangeset for help on using the changeset viewer.