Ticket #33804: 33804.2.diff
File 33804.2.diff, 653 bytes (added by , 9 years ago) |
---|
-
src/wp-admin/network/site-new.php
89 89 $password = 'N/A'; 90 90 $user_id = email_exists($email); 91 91 if ( !$user_id ) { // Create a new user with a random password 92 $user_id = username_exists( $domain ); 93 if ( $user_id ) { 94 wp_die( __( 'The domain or path entered conflicts with an existing username.' ) ); 95 } 92 96 $password = wp_generate_password( 12, false ); 93 97 $user_id = wpmu_create_user( $domain, $password, $email ); 94 98 if ( false === $user_id )