WordPress.org

Make WordPress Core

Ticket #33631: 33631.patch

File 33631.patch, 757 bytes (added by rachelbaker, 4 years ago)

Fixed spacing and added version to inline docs

  • src/wp-admin/network/site-new.php

     
    9090        $password = 'N/A';
    9191        $user_id = email_exists($email);
    9292        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
    93102                $user_id = username_exists( $domain );
    94103                if ( $user_id ) {
    95104                        wp_die( __( 'The domain or path entered conflicts with an existing username.' ) );