mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
Use a sprite for screen options toggle. Props TECannon PeteMall. see #15163
git-svn-id: https://develop.svn.wordpress.org/trunk@16081 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -11,7 +11,7 @@ class WP_Admin_Bar {
|
||||
if ( is_super_admin() ) {
|
||||
require( ABSPATH . WPINC . '/admin-bar/admin-bar-superadmin.php' );
|
||||
}
|
||||
|
||||
|
||||
/* Set the protocol used throughout this code */
|
||||
if ( is_ssl() )
|
||||
$this->proto = 'https://';
|
||||
@@ -184,7 +184,7 @@ class WP_Admin_Bar {
|
||||
add_action( 'wp_before_admin_bar_render', 'wp_admin_bar_appearance_menu', 70 );
|
||||
add_action( 'wp_before_admin_bar_render', 'wp_admin_bar_updates_menu', 80 );
|
||||
add_action( 'wp_before_admin_bar_render', 'wp_admin_bar_shortlink_menu', 90 );
|
||||
|
||||
|
||||
if ( is_multisite() && is_super_admin() && function_exists('wp_admin_bar_superadmin_settings_menu') )
|
||||
add_action( 'wp_before_admin_bar_render', 'wp_admin_bar_superadmin_settings_menu', 1000 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user