WordPress 4.3.1
[autoinstalls/wordpress.git] / wp-admin / network / user-new.php
index 002e098dc17a614f1c1db62eae22118de12df834..775e754b2f3aca1c5d330c379053acfe1989ee9e 100644 (file)
@@ -51,7 +51,7 @@ if ( isset($_REQUEST['action']) && 'add-user' == $_REQUEST['action'] ) {
                if ( ! $user_id ) {
                        $add_user_errors = new WP_Error( 'add_user_fail', __( 'Cannot add user.' ) );
                } else {
-                       wp_new_user_notification( $user_id, 'both' );
+                       wp_new_user_notification( $user_id, null, 'both' );
                        wp_redirect( add_query_arg( array('update' => 'added'), 'user-new.php' ) );
                        exit;
                }