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

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


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

 * owner:  (none) => desrosj
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"50812" 50812]:
 {{{
 #!CommitTicketReference repository="" revision="50812"
 Formatting: Verify emails with `+` characters are valid.

 This adds an assertion to confirm that `is_email()` considers email
 addresses with a `+` valid.

 Props SergeyBiryukov, ayeshrajans.
 Fixes #53130.
 }}}

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


More information about the wp-trac mailing list