]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/class-phpass.php
Wordpress 3.5.2
[autoinstalls/wordpress.git] / wp-includes / class-phpass.php
index dcdf3803b5e2bfd62313e830aede5eae00111098..2fed5d76853741cf7848b14b111f476b69e7b343 100644 (file)
@@ -253,7 +253,7 @@ class PasswordHash {
                if ($hash[0] == '*')
                        $hash = crypt($password, $stored_hash);
 
                if ($hash[0] == '*')
                        $hash = crypt($password, $stored_hash);
 
-               return $hash == $stored_hash;
+               return $hash === $stored_hash;
        }
 }
 
        }
 }