diff --git a/wp-content/mu-plugins/css/openlab-toolbar.less b/wp-content/mu-plugins/css/openlab-toolbar.less index b221d481b9..aab8801830 100644 --- a/wp-content/mu-plugins/css/openlab-toolbar.less +++ b/wp-content/mu-plugins/css/openlab-toolbar.less @@ -189,6 +189,7 @@ } } .admin-bar-menu { + white-space: nowrap; li { font-size: 14px; line-height: 19px; @@ -1489,3 +1490,9 @@ a.cc-widget-icon-link { top: 52px; } } + +.ab-top-menu { + & > li { + white-space: nowrap; + } +} diff --git a/wp-content/mu-plugins/openlab-toolbar.php b/wp-content/mu-plugins/openlab-toolbar.php index 7dcfead44c..09f0de448a 100644 --- a/wp-content/mu-plugins/openlab-toolbar.php +++ b/wp-content/mu-plugins/openlab-toolbar.php @@ -82,6 +82,8 @@ public function __construct() { // For cleaning up any plugin add-ons. add_action( 'wp_before_admin_bar_render', array( $this, 'adminbar_plugin_cleanup' ), 9999 ); + remove_action( 'admin_bar_menu', 'wp_admin_bar_search_menu', 9999 ); + // Logged-in only if ( is_user_logged_in() ) { @@ -102,7 +104,7 @@ public function __construct() { } add_action( 'admin_bar_menu', array( $this, 'add_my_openlab_menu' ), 2 ); - add_action( 'admin_bar_menu', array( $this, 'change_howdy_to_hi' ), 7 ); + add_action( 'admin_bar_menu', array( $this, 'change_howdy_to_hi' ), 9999999 ); add_action( 'admin_bar_menu', array( $this, 'prepend_my_to_my_openlab_items' ), 99 ); add_action( 'admin_bar_menu', array( $this, 'remove_notifications_hook' ), 5 ); @@ -685,7 +687,7 @@ public function prepend_my_to_my_openlab_items( $wp_admin_bar ) { * place. */ public function remove_notifications_hook( $wp_admin_bar ) { - remove_action( 'admin_bar_menu', 'bp_members_admin_bar_notifications_menu', 90 ); + remove_action( 'admin_bar_menu', 'bp_members_admin_bar_notifications_menu_priority', 6 ); } /**