diff options
Diffstat (limited to 'plugins/jetpack/jetpack_vendor/automattic/jetpack-password-checker/src/class-password-checker.php')
-rw-r--r-- | plugins/jetpack/jetpack_vendor/automattic/jetpack-password-checker/src/class-password-checker.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-password-checker/src/class-password-checker.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-password-checker/src/class-password-checker.php index 7c9cec39..374dc893 100644 --- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-password-checker/src/class-password-checker.php +++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-password-checker/src/class-password-checker.php @@ -82,7 +82,7 @@ class Password_Checker { * @param mixed $user can be an integer ID, or a WP_User object. */ public function __construct( $user = null ) { - if ( is_null( $user ) ) { + if ( $user === null ) { $this->user_id = get_current_user_id(); } elseif ( is_object( $user ) && isset( $user->ID ) ) { // Existing user, using their ID. |