Closed lukasjuhas closed 7 years ago
From Wordpress Support:
esemlabel (@esemlabel) Maybe the line in public function __construct(), that adds red background to admin_menu_bar button, should be added in ‘admin_bar_menu’ hook, because background is missing at frontend when mm is enabled. add_action('admin_head', array( $this, 'style' ));
esemlabel (@esemlabel) Maybe the line in public function __construct(), that adds red background to admin_menu_bar button, should be added in ‘admin_bar_menu’ hook, because background is missing at frontend when mm is enabled.
add_action('admin_head', array( $this, 'style' ));
//change to add_action('admin_bar_menu', array( $this, 'style' ));
From Wordpress Support:
//change to add_action('admin_bar_menu', array( $this, 'style' ));