Changeset 34996 for trunk/src/wp-admin/network/site-new.php
- Timestamp:
- 10/10/2015 01:41:43 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/network/site-new.php
r34912 r34996 91 91 $user_id = email_exists($email); 92 92 if ( !$user_id ) { // Create a new user with a random password 93 $user_id = username_exists( $domain ); 94 if ( $user_id ) { 95 wp_die( __( 'The domain or path entered conflicts with an existing username.' ) ); 96 } 93 97 $password = wp_generate_password( 12, false ); 94 98 $user_id = wpmu_create_user( $domain, $password, $email );
Note: See TracChangeset
for help on using the changeset viewer.