[wp-trac] [WordPress Trac] #26805: is_email not allowing apostrophe

WordPress Trac noreply at wordpress.org
Mon Dec 8 14:59:24 UTC 2014


#26805: is_email not allowing apostrophe
-------------------------------+------------------------------
 Reporter:  contrid            |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Formatting         |     Version:  3.8
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by JoshRoy):

 We are running into this problem as well. The issue here is that the email
 is getting passed with a backslash to escape the single quote. The email
 getting passed is j.d.o\'farrell at example.com which is essentially
 {{{
 is_email('j.d.o\\\'farrell at example.com');
 }}}
  which fails.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26805#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list