Changeset 39798
- Timestamp:
- 01/11/2017 05:31:14 AM (8 years ago)
- Location:
- branches/4.5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.5
-
branches/4.5/src/wp-includes/ms-functions.php
r36895 r39798 667 667 global $wpdb; 668 668 669 $key = substr( md5( time() . rand() . $domain ), 0, 16 );669 $key = substr( md5( time() . wp_rand() . $domain ), 0, 16 ); 670 670 $meta = serialize($meta); 671 671 … … 717 717 $user = preg_replace( '/\s+/', '', sanitize_user( $user, true ) ); 718 718 $user_email = sanitize_email( $user_email ); 719 $key = substr( md5( time() . rand() . $user_email ), 0, 16 );719 $key = substr( md5( time() . wp_rand() . $user_email ), 0, 16 ); 720 720 $meta = serialize($meta); 721 721
Note: See TracChangeset
for help on using the changeset viewer.