Changeset 39797 for branches/4.6/src/wp-includes/ms-functions.php
- Timestamp:
- 01/11/2017 05:30:48 AM (8 years ago)
- Location:
- branches/4.6
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.6
-
branches/4.6/src/wp-includes/ms-functions.php
r38202 r39797 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.