diff --git a/wp-includes/class-phpass.php b/wp-includes/class-phpass.php index dcdf3803b5..2fed5d7685 100644 --- a/wp-includes/class-phpass.php +++ b/wp-includes/class-phpass.php @@ -253,7 +253,7 @@ class PasswordHash { if ($hash[0] == '*') $hash = crypt($password, $stored_hash); - return $hash == $stored_hash; + return $hash === $stored_hash; } }