[wp-trac] [WordPress Trac] #26805: is_email not allowing apostrophe
WordPress Trac
noreply at wordpress.org
Fri Jan 10 09:38:49 UTC 2014
#26805: is_email not allowing apostrophe
-------------------------------+------------------------------
Reporter: contrid | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Validation | Version: 3.8
Severity: normal | Resolution:
Keywords: reporter-feedback |
-------------------------------+------------------------------
Changes (by bcworkz):
* keywords: => reporter-feedback
Comment:
Apostrophe is allowed per RFC5322 and is properly accepted by `is_email()`
in version 3.8. For example, this returns true (valid):
`is_email('j.d.o\'farrell at example.com');`
Maybe you are using a UTF-8 character that looks like an apostrophe, such
as HTML entity `‘`?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26805#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list