Changeset 6449 for trunk/src/includes/admin/converters/PHPWind.php
- Timestamp:
- 06/01/2017 07:14:43 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/admin/converters/PHPWind.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/converters/PHPWind.php
r5951 r6449 487 487 * converter. 488 488 */ 489 public function info() 490 { 489 public function info() { 491 490 return ''; 492 491 } … … 497 496 * as one value. Array values are auto sanitized by WordPress. 498 497 */ 499 public function callback_savepass( $field, $row ) 500 { 498 public function callback_savepass( $field, $row ) { 501 499 $pass_array = array( 'hash' => $field, 'salt' => $row['salt'] ); 502 500 return $pass_array; … … 507 505 * to a pass the user has typed in. 508 506 */ 509 public function authenticate_pass( $password, $serialized_pass ) 510 { 507 public function authenticate_pass( $password, $serialized_pass ) { 511 508 $pass_array = unserialize( $serialized_pass ); 512 509 return ( $pass_array['hash'] == md5( md5( $password ). $pass_array['salt'] ) );
Note: See TracChangeset
for help on using the changeset viewer.