Changeset 39796
- Timestamp:
- 01/11/2017 05:30:21 AM (8 years ago)
- Location:
- branches/4.7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.7
-
branches/4.7/src/wp-includes/ms-functions.php
r39323 r39796 670 670 global $wpdb; 671 671 672 $key = substr( md5( time() . rand() . $domain ), 0, 16 );672 $key = substr( md5( time() . wp_rand() . $domain ), 0, 16 ); 673 673 $meta = serialize($meta); 674 674 … … 720 720 $user = preg_replace( '/\s+/', '', sanitize_user( $user, true ) ); 721 721 $user_email = sanitize_email( $user_email ); 722 $key = substr( md5( time() . rand() . $user_email ), 0, 16 );722 $key = substr( md5( time() . wp_rand() . $user_email ), 0, 16 ); 723 723 $meta = serialize($meta); 724 724
Note: See TracChangeset
for help on using the changeset viewer.