Ticket #17018: 17018-make-them-work.patch
File 17018-make-them-work.patch, 612 bytes (added by , 12 years ago) |
---|
-
wp-includes/pluggable.php
1502 1502 1503 1503 $check = $wp_hasher->CheckPassword($password, $hash); 1504 1504 1505 // if $password is at least double slashed and check failed, try again with one level of slashes removed. 1506 if (!$check && false !== strpos($password, "\\\\")) { 1507 $check = $wp_hasher->CheckPassword(stripslashes($password), $hash); 1508 } 1509 1505 1510 return apply_filters('check_password', $check, $password, $hash, $user_id); 1506 1511 } 1507 1512 endif;