Changeset 5385 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/register-confirm.php
- Timestamp:
- 04/20/2017 09:42:51 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/register-confirm.php
r4951 r5385 20 20 list( $reset_time, $hashed_activation_key ) = explode( ':', $user->user_activation_key, 2 ); 21 21 22 $wp_hasher = new PasswordHash( 8, true ); 22 if ( empty( $wp_hasher ) ) { 23 require_once ABSPATH . WPINC . '/class-phpass.php'; 24 $wp_hasher = new PasswordHash( 8, true ); 25 } 23 26 $can_access = $wp_hasher->CheckPassword( $confirm_key, $hashed_activation_key ); 24 27
Note: See TracChangeset
for help on using the changeset viewer.