Changeset 16839
- Timestamp:
- 12/09/2010 04:27:53 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-admin-bar.php
r16636 r16839 8 8 9 9 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 15 10 /* Set the protocol used throughout this code */ 16 11 if ( is_ssl() ) … … 189 184 add_action( 'admin_bar_menu', 'wp_admin_bar_updates_menu', 80 ); 190 185 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 );194 186 195 187 do_action('add_admin_bar_menus');
Note: See TracChangeset
for help on using the changeset viewer.