Changeset 6449 for trunk/src/includes/admin/converters/MyBB.php
- Timestamp:
- 06/01/2017 07:14:43 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/converters/MyBB.php
r5951 r6449 517 517 * converter. 518 518 */ 519 public function info() 520 { 519 public function info() { 521 520 return ''; 522 521 } … … 527 526 * as one value. Array values are auto sanitized by WordPress. 528 527 */ 529 public function callback_savepass( $field, $row ) 530 { 528 public function callback_savepass( $field, $row ) { 531 529 $pass_array = array( 'hash' => $field, 'salt' => $row['salt'] ); 532 530 return $pass_array; … … 537 535 * to a pass the user has typed in. 538 536 */ 539 public function authenticate_pass( $password, $serialized_pass ) 540 { 537 public function authenticate_pass( $password, $serialized_pass ) { 541 538 $pass_array = unserialize( $serialized_pass ); 542 539 return ( $pass_array['hash'] == md5( md5( $password ). $pass_array['salt'] ) );
Note: See TracChangeset
for help on using the changeset viewer.