Make WordPress Core

Changes between Initial Version and Version 5 of Ticket #31992


Ignore:
Timestamp:
04/17/2015 06:09:12 PM (9 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31992

    • Property Version changed from trunk to
    • Property Summary changed from sanitize_email() and is_email() preg_replace/preg_match problems to Unicode Email Addresses
  • Ticket #31992 – Description

    initial v5  
    33'''Test case'''
    44{{{
    5 $target_email = 'dummy-email.y.!#$%@gmail.com';
     5$target_email = 'dummy-üñîçøðé.y.!#$%@üñîçøðé.gmail.com';
    66echo $target_email.'<br>';
    77echo sanitize_email($target_email).'<br>';
     
    1111'''Return'''
    1212{{{
     13dummy-üñîçøðé.y.!#$%@üñîçøðé.gmail.com
    1314dummy-email.y.!#$%@gmail.com
    14 dummy-email.y.!#$%@gmail.com
    15 is_email : dummy-email.y.!#$%@gmail.com
     15is_email :
    1616}}}
    1717