Skip to content

Commit 8a99edd

Browse files
committed
Why.
1 parent 537ee4a commit 8a99edd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-includes/pluggable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2661,7 +2661,7 @@ function wp_hash_password( $password ) {
26612661
$options = apply_filters( 'wp_hash_password_options', array(), $algorithm );
26622662

26632663
// Algorithms other than bcrypt don't need to use pre-hashing.
2664-
if ( $algorithm !== PASSWORD_BCRYPT ) {
2664+
if ( PASSWORD_BCRYPT !== $algorithm ) {
26652665
return password_hash( $password, $algorithm, $options );
26662666
}
26672667

0 commit comments

Comments
 (0)