[wp-hackers] Sanitize password input
Otto
otto at ottodestruct.com
Thu Jan 24 03:46:04 UTC 2013
On Wed, Jan 23, 2013 at 8:49 PM, Rafael Ehlers <rafaehlers at gmail.com> wrote:
> what´s the best wp native function to sanitize a user input password for
> frontend login/registration that allows alphanumeric characters with
> Uppercase and Lowercase chars?
I would say sanitize_user(), but that is meant for usernames.
Sanitizing passwords is not the purpose of it, nor a great idea.
-Otto
More information about the wp-hackers
mailing list