Changeset 16284
- Timestamp:
- 11/10/2010 11:31:54 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/upgrade.php
r15670 r16284 65 65 $email_password = false; 66 66 if ( !$user_id && empty($user_password) ) { 67 $user_password = wp_generate_password( );67 $user_password = wp_generate_password( 12, false ); 68 68 $message = __('<strong><em>Note that password</em></strong> carefully! It is a <em>random</em> password that was generated just for you.'); 69 69 $user_id = wp_create_user($user_name, $user_password, $user_email); -
trunk/wp-admin/network/site-new.php
r16272 r16284 58 58 $user_id = email_exists($email); 59 59 if ( !$user_id ) { // Create a new user with a random password 60 $password = wp_generate_password( );60 $password = wp_generate_password( 12, false ); 61 61 $user_id = wpmu_create_user( $domain, $password, $email ); 62 62 if ( false == $user_id ) -
trunk/wp-admin/network/user-new.php
r16272 r16284 32 32 wp_die( __( 'Missing email.' ) ); 33 33 34 $password = wp_generate_password( );34 $password = wp_generate_password( 12, false); 35 35 $user_id = wpmu_create_user( esc_html( strtolower( $user['username'] ) ), $password, esc_html( $user['email'] ) ); 36 36 -
trunk/wp-includes/ms-functions.php
r16213 r16284 780 780 $user_login = $wpdb->escape($signup->user_login); 781 781 $user_email = $wpdb->escape($signup->user_email); 782 $password = wp_generate_password( );782 $password = wp_generate_password( 12, false ); 783 783 784 784 $user_id = username_exists($user_login); -
trunk/wp-login.php
r16066 r16284 321 321 return $errors; 322 322 323 $user_pass = wp_generate_password( );323 $user_pass = wp_generate_password( 12, false); 324 324 $user_id = wp_create_user( $sanitized_user_login, $user_pass, $user_email ); 325 325 if ( ! $user_id ) {
Note: See TracChangeset
for help on using the changeset viewer.