Tom Barrett
2013-10-03 11:17:40 UTC
I'm looking at an 'apostrophe in email' issue. The codex page for
is_email() says it is deprecated (but not what to use instead). Other
functions in core appear to use the function (eg: sanitize_option()).
Trying to add a user to a vanilla 3.6.1 install with an apostrophe in the
email fails.
What is the accepted method to check email validity (for use as WordPress
user accounts)?
Is there a good reason not to use FILTER_VALIDATE_EMAIL ?
Thanks.
is_email() says it is deprecated (but not what to use instead). Other
functions in core appear to use the function (eg: sanitize_option()).
Trying to add a user to a vanilla 3.6.1 install with an apostrophe in the
email fails.
What is the accepted method to check email validity (for use as WordPress
user accounts)?
Is there a good reason not to use FILTER_VALIDATE_EMAIL ?
Thanks.
--
http://www.tcbarrett.com | http://gplus.to/tcbarrett |
http://twitter.com/tcbarrett
http://www.tcbarrett.com | http://gplus.to/tcbarrett |
http://twitter.com/tcbarrett