Changeset 6395 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/functions-registration.php
- Timestamp:
- 01/18/2018 06:10:58 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/functions-registration.php
r5385 r6395 49 49 } 50 50 $hashed_activation_key = time() . ':' . $wp_hasher->HashPassword( $activation_key ); 51 $bool = $wpdb->update( $wpdb->users, array( 'user_activation_key' => $hashed_activation_key ), array( 'ID' => $user_id ) ); 51 52 $wpdb->update( $wpdb->users, array( 'user_activation_key' => $hashed_activation_key ), array( 'ID' => $user_id ) ); 53 clean_user_cache( $user_id ); 52 54 53 55 if ( $user_mailinglist ) {
Note: See TracChangeset
for help on using the changeset viewer.