[wp-hackers] Apostrophes and is_email() alternative

Tom Barrett tcbarrett at gmail.com
Thu Oct 3 14:42:05 UTC 2013


Thanks JD! Much clearer.

Thanks Thomas, the gist needs a little tweaking as it doesn't work in it's
current state.

The next step in this lovely journey is that the $email var passed around
in the hooks has the apostrophe escaped. And back slashes are not valid.

This is fun :)

// Sent by Nexus
On 3 Oct 2013 13:47, "J.D. Grimes" <jdg at codesymphony.co> wrote:

>
> On Oct 3, 2013, at 7:17 AM, Tom Barrett <tcbarrett at gmail.com> wrote:
>
> > 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()).
>
> Right, it really isn't deprecated, just the second argument. I've updated
> the codex page to make this clear.
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list