[wp-trac] [WordPress Trac] #53130: is_email() and sanitize_email() differ.

WordPress Trac noreply at wordpress.org
Tue May 4 16:03:00 UTC 2021


#53130: is_email() and sanitize_email() differ.
----------------------------+---------------------
 Reporter:  DuisterDenHaag  |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  5.8
Component:  Mail            |     Version:  5.5
 Severity:  normal          |  Resolution:
 Keywords:  commit          |     Focuses:
----------------------------+---------------------
Changes (by desrosj):

 * keywords:  close => commit
 * milestone:  Awaiting Review => 5.8


Comment:

 [attachment:"53130.diff"] adds a test for an email with a `+`. I think it
 doesn't hurt to add to show it works (and continues to work).

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


More information about the wp-trac mailing list