Changeset 39801
- Timestamp:
- 01/11/2017 05:32:20 AM (7 years ago)
- Location:
- branches/4.2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.2
-
branches/4.2/src/wp-includes/ms-functions.php
r32064 r39801 711 711 global $wpdb; 712 712 713 $key = substr( md5( time() . rand() . $domain ), 0, 16 );713 $key = substr( md5( time() . wp_rand() . $domain ), 0, 16 ); 714 714 $meta = serialize($meta); 715 715 … … 746 746 $user = preg_replace( '/\s+/', '', sanitize_user( $user, true ) ); 747 747 $user_email = sanitize_email( $user_email ); 748 $key = substr( md5( time() . rand() . $user_email ), 0, 16 );748 $key = substr( md5( time() . wp_rand() . $user_email ), 0, 16 ); 749 749 $meta = serialize($meta); 750 750
Note: See TracChangeset
for help on using the changeset viewer.