Changeset 32990 for trunk/src/wp-includes/class-phpass.php
- Timestamp:
- 06/28/2015 03:26:41 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-phpass.php
r30466 r32990 40 40 var $random_state; 41 41 42 function PasswordHash($iteration_count_log2, $portable_hashes) 42 /** 43 * PHP5 constructor. 44 */ 45 function __construct( $iteration_count_log2, $portable_hashes ) 43 46 { 44 47 $this->itoa64 = './0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'; … … 51 54 52 55 $this->random_state = microtime() . uniqid(rand(), TRUE); // removed getmypid() for compatibility reasons 56 } 57 58 /** 59 * PHP4 constructor. 60 */ 61 public function PasswordHash( $iteration_count_log2, $portable_hashes ) { 62 self::__construct( $iteration_count_log2, $portable_hashes ); 53 63 } 54 64
Note: See TracChangeset
for help on using the changeset viewer.