Make WordPress Core


Ignore:
Timestamp:
10/07/2011 07:52:26 PM (13 years ago)
Author:
koopersmith
Message:

Clean up the 'Site Name' admin bar functions.

File:
1 edited

Legend:

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

    r18898 r18919  
    180180        add_action( 'admin_bar_menu', 'wp_admin_bar_wp_menu', 10 );
    181181        add_action( 'admin_bar_menu', 'wp_admin_bar_my_sites_menu', 20 );
     182        add_action( 'admin_bar_menu', 'wp_admin_bar_site_menu', 30 );
    182183        add_action( 'admin_bar_menu', 'wp_admin_bar_updates_menu', 40 );
    183184
     
    189190
    190191        if ( ! is_admin() ) {
    191             add_action( 'admin_bar_menu', 'wp_admin_bar_blog_front_menu', 30 );
    192192            add_action( 'admin_bar_menu', 'wp_admin_bar_search_menu', 100 );
    193193        } else {
    194             add_action( 'admin_bar_menu', 'wp_admin_bar_blog_admin_menu', 30 );
    195194            add_action( 'admin_bar_menu', 'wp_admin_bar_help_menu', 90 );
    196195        }
Note: See TracChangeset for help on using the changeset viewer.