Changeset 6449 for trunk/src/includes/admin/converters/e107v1.php
- Timestamp:
- 06/01/2017 07:14:43 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/converters/e107v1.php
r6284 r6449 466 466 * converter. 467 467 */ 468 public function info() 469 { 468 public function info() { 470 469 return ''; 471 470 } … … 476 475 * as one value. Array values are auto sanitized by WordPress. 477 476 */ 478 public function callback_savepass( $field, $row ) 479 { 477 public function callback_savepass( $field, $row ) { 480 478 $pass_array = array( 'hash' => $field, 'salt' => $row['salt'] ); 481 479 return $pass_array; … … 486 484 * to a pass the user has typed in. 487 485 */ 488 public function authenticate_pass( $password, $serialized_pass ) 489 { 486 public function authenticate_pass( $password, $serialized_pass ) { 490 487 $pass_array = unserialize( $serialized_pass ); 491 488 return ( $pass_array['hash'] == md5( md5( $password ). $pass_array['salt'] ) ); … … 585 582 $this->map_userid[ $field ] = $row->value_id; 586 583 } else { 587 if ( ! empty( $_POST['_bbp_converter_convert_users'] ) && ( $_POST['_bbp_converter_convert_users'] == 1 )) {584 if ( true === $this->convert_users ) { 588 585 $this->map_userid[ $field ] = 0; 589 586 } else {
Note: See TracChangeset
for help on using the changeset viewer.