Changeset 30467 for branches/4.0/src/wp-includes/class-phpass.php
- Timestamp:
- 11/20/2014 04:04:26 PM (11 years ago)
- Location:
- branches/4.0
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/class-phpass.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.0
-
branches/4.0/src/wp-includes/class-phpass.php
r26868 r30467 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.