Make WordPress Core


Ignore:
Timestamp:
12/09/2010 04:27:53 PM (13 years ago)
Author:
nacin
Message:

Remove the snack bar from core. Will become a plugin. Lay down the red.

File:
1 edited

Legend:

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

    r16636 r16839  
    88
    99    function initialize() {
    10         /* Only load super admin menu code if the logged in user is a super admin */
    11         if ( is_super_admin() ) {
    12             require( ABSPATH . WPINC . '/ms-admin-bar.php' );
    13         }
    14 
    1510        /* Set the protocol used throughout this code */
    1611        if ( is_ssl() )
     
    189184        add_action( 'admin_bar_menu', 'wp_admin_bar_updates_menu', 80 );
    190185        add_action( 'admin_bar_menu', 'wp_admin_bar_shortlink_menu', 90 );
    191 
    192         if ( is_multisite() && is_super_admin() && function_exists('wp_admin_bar_superadmin_settings_menu') )
    193             add_action( 'admin_bar_menu', 'wp_admin_bar_superadmin_settings_menu', 1000 );
    194186
    195187        do_action('add_admin_bar_menus');
Note: See TracChangeset for help on using the changeset viewer.