diff --git a/modules/masterbar/masterbar.php b/modules/masterbar/masterbar.php index de75ccc9f7fcc..e782468f99074 100644 --- a/modules/masterbar/masterbar.php +++ b/modules/masterbar/masterbar.php @@ -209,7 +209,13 @@ public function admin_body_class( $admin_body_classes ) { * Remove the default Admin Bar CSS. */ public function remove_core_styles() { - wp_dequeue_style( 'admin-bar' ); + /* + * Notifications need the admin bar styles, + * so let's not remove them when the module is active. + */ + if ( ! Jetpack::is_module_active( 'notes' ) ) { + wp_dequeue_style( 'admin-bar' ); + } } /**