summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/modules/scan/class-admin-bar-notice.php')
-rw-r--r--plugins/jetpack/modules/scan/class-admin-bar-notice.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/jetpack/modules/scan/class-admin-bar-notice.php b/plugins/jetpack/modules/scan/class-admin-bar-notice.php
index 76f3cdc0..25ada38e 100644
--- a/plugins/jetpack/modules/scan/class-admin-bar-notice.php
+++ b/plugins/jetpack/modules/scan/class-admin-bar-notice.php
@@ -94,7 +94,7 @@ class Admin_Bar_Notice {
public function enqueue_toolbar_script() {
$this->add_inline_styles();
- if ( ! is_null( $this->has_threats() ) ) {
+ if ( $this->has_threats() !== null ) {
return;
}