We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 537ee4a commit 8a99eddCopy full SHA for 8a99edd
src/wp-includes/pluggable.php
@@ -2661,7 +2661,7 @@ function wp_hash_password( $password ) {
2661
$options = apply_filters( 'wp_hash_password_options', array(), $algorithm );
2662
2663
// Algorithms other than bcrypt don't need to use pre-hashing.
2664
- if ( $algorithm !== PASSWORD_BCRYPT ) {
+ if ( PASSWORD_BCRYPT !== $algorithm ) {
2665
return password_hash( $password, $algorithm, $options );
2666
}
2667
0 commit comments