Changeset 30466 for trunk/src/wp-includes/class-phpass.php
- Timestamp:
- 11/20/2014 04:02:55 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-phpass.php
r26868 r30466 215 215 function HashPassword($password) 216 216 { 217 if ( strlen( $password ) > 4096 ) { 218 return '*'; 219 } 220 217 221 $random = ''; 218 222 … … 250 254 function CheckPassword($password, $stored_hash) 251 255 { 256 if ( strlen( $password ) > 4096 ) { 257 return false; 258 } 259 252 260 $hash = $this->crypt_private($password, $stored_hash); 253 261 if ($hash[0] == '*')
Note: See TracChangeset
for help on using the changeset viewer.