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

WordPress Trac noreply at wordpress.org
Mon Dec 8 15:33:56 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 boonebgorges):

 >  I'm not that familiar with core but to me it looks like
 wp_magic_quotes() in wp-includes\load.php so when you call is_email(
 $_POST[ 'email' ] ) on an email with an apostrophe/single quote it will
 also contain a backslash.

 Yes, but how are you getting to this point? Where in the interface are you
 entering the problematic email address? If you could provide specific
 details to reproduce, it'd be helpful.

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


More information about the wp-trac mailing list