[wp-trac] [WordPress Trac] #18658: Allow apostrophe in email validation

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 22 18:32:56 UTC 2011


#18658: Allow apostrophe in email validation
-------------------------+------------------------------
 Reporter:  swinhoe      |       Owner:
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Validation   |     Version:  3.2.1
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |
-------------------------+------------------------------

Comment (by theandystratton):

 I ran into this with a client a month ago, and finally got some time to
 investigate and create a patch.

 Actually, I'm attaching two patches, one for registration, the other for
 the admin user add/edit functions. Allows apostrophes (effectively
 stripping slashes from the email address).

 Should be safe since a double-quote invalidates is_email(). Hope this
 makes it in!

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18658#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list