WordPress.org

Make WordPress Core

Ticket #9669: 9669.diff

File 9669.diff, 457 bytes (added by Denis-de-Bernardy, 9 years ago)
  • wp-admin/includes/user.php

     
    183183                $user_id = wp_update_user( get_object_vars( $user ));
    184184        } else {
    185185                $user_id = wp_insert_user( get_object_vars( $user ));
    186                 wp_new_user_notification( $user_id );
     186                wp_new_user_notification( $user_id, $pass1 );
    187187        }
    188188        return $user_id;
    189189}