Make WordPress Core

Ticket #19425: the-solution.diff

File the-solution.diff, 668 bytes (added by koopersmith, 13 years ago)
  • wp-includes/class-wp-admin-bar.php

     
    352352
    353353        public function add_menus() {
    354354                // User related, aligned right.
    355                 add_action( 'admin_bar_menu', 'wp_admin_bar_search_menu', 10 );
    356                 add_action( 'admin_bar_menu', 'wp_admin_bar_my_account_menu', 20 );
     355                add_action( 'admin_bar_menu', 'wp_admin_bar_search_menu', 0 );
     356                add_action( 'admin_bar_menu', 'wp_admin_bar_my_account_menu', 0 );
    357357
    358358                // Site related.
    359359                add_action( 'admin_bar_menu', 'wp_admin_bar_wp_menu', 10 );