summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/_inc/lib/class.jetpack-password-checker.php')
-rw-r--r--plugins/jetpack/_inc/lib/class.jetpack-password-checker.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/jetpack/_inc/lib/class.jetpack-password-checker.php b/plugins/jetpack/_inc/lib/class.jetpack-password-checker.php
index 75b6bbfd..4887e588 100644
--- a/plugins/jetpack/_inc/lib/class.jetpack-password-checker.php
+++ b/plugins/jetpack/_inc/lib/class.jetpack-password-checker.php
@@ -101,7 +101,7 @@ class Jetpack_Password_Checker {
*/
$this->common_passwords = apply_filters( 'jetpack_password_checker_restricted_strings', array() );
- if ( is_null( $user ) ) {
+ if ( $user === null ) {
$this->user_id = get_current_user_id();
} elseif ( is_object( $user ) && isset( $user->ID ) ) {