Make WordPress Core


Ignore:
Timestamp:
12/06/2011 03:51:58 AM (13 years ago)
Author:
ryan
Message:

Introduce user-actions group and move profile and logout menu items to it and change priority. Props koopersmith. fixes #19425

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-wp-admin-bar.php

    r19558 r19559  
    449449    public function add_menus() {
    450450        // User related, aligned right.
    451         add_action( 'admin_bar_menu', 'wp_admin_bar_search_menu', 10 );
    452         add_action( 'admin_bar_menu', 'wp_admin_bar_my_account_menu', 20 );
     451        add_action( 'admin_bar_menu', 'wp_admin_bar_my_account_menu', 0 );
     452        add_action( 'admin_bar_menu', 'wp_admin_bar_search_menu', 4 );
     453        add_action( 'admin_bar_menu', 'wp_admin_bar_my_account_item', 7 );
    453454
    454455        // Site related.
Note: See TracChangeset for help on using the changeset viewer.