WordPress 4.3.1
[autoinstalls/wordpress.git] / wp-admin / network / site-new.php
index 8dec36cf02c4bb614641a60fd670827afd87813b..582fa5048cfe2da8f414f9c07065d0f891d42658 100644 (file)
@@ -79,7 +79,7 @@ if ( isset($_REQUEST['action']) && 'add-site' == $_REQUEST['action'] ) {
                if ( false === $user_id )
                        wp_die( __( 'There was an error creating the user.' ) );
                else
-                       wp_new_user_notification( $user_id, 'both' );
+                       wp_new_user_notification( $user_id, null, 'both' );
        }
 
        $wpdb->hide_errors();