WordPress.org

Make WordPress Core

Ticket #17018: 17018.1.patch

File 17018.1.patch, 522 bytes (added by kurtpayne, 6 years ago)

Refresh for 3.5

  • wp-admin/includes/user.php

     
    159159                $user_id = wp_update_user( $user );
    160160        } else {
    161161                $user_id = wp_insert_user( $user );
    162                 wp_new_user_notification( $user_id, isset($_POST['send_password']) ? $pass1 : '' );
     162                wp_new_user_notification( $user_id, isset($_POST['send_password']) ? stripslashes( $pass1 ) : '' );
    163163        }
    164164        return $user_id;
    165165}