Ticket #33631: 33631.patch
| File 33631.patch, 757 bytes (added by , 10 years ago) |
|---|
-
src/wp-admin/network/site-new.php
90 90 $password = 'N/A'; 91 91 $user_id = email_exists($email); 92 92 if ( !$user_id ) { // Create a new user with a random password 93 /** 94 * Fires when a new user will be created via the network site-new.php page. 95 * 96 * @since 4.5.0 97 * 98 * @param string $email Email of the non-existent user. 99 */ 100 do_action( 'network_site_new_created_user_pending', $email ); 101 93 102 $user_id = username_exists( $domain ); 94 103 if ( $user_id ) { 95 104 wp_die( __( 'The domain or path entered conflicts with an existing username.' ) );