Large amount of escaping and sanitizing - a mix of sanitize_email(), sanitize_text_field(), sanitize_key(), esc_attr()
apply esc_url_raw() to agh redirect params from $_REQUEST
Added comment to explain double $email assignment to user-login
user get_user_by instead of get_userdatabylogin()
Added comment clarifying user_login input name
Merge pull request #1 from humanmade/sanitize

Large amount of escaping and sanitizing
call sanitize_text_field() correctly