[wp-trac] [WordPress Trac] #17491: Make is_email() compliant with RFC2822

WordPress Trac noreply at wordpress.org
Wed Feb 27 17:50:03 UTC 2019


#17491: Make is_email() compliant with RFC2822
-------------------------------------------------+-------------------------
 Reporter:  arena                                |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Formatting                           |     Version:  3.1.2
 Severity:  minor                                |  Resolution:
 Keywords:  has-patch dev-feedback is-email      |     Focuses:
  2nd-opinion                                    |
-------------------------------------------------+-------------------------
Changes (by arena):

 * keywords:  has-patch dev-feedback is-email => has-patch dev-feedback is-
     email 2nd-opinion


Comment:

 Here is a table with 3 columns : expected result, email, result.
 The last column is in red (background color) when the result is not equal
 to what is expected.

 Here is the result of the current is_email() :

 [[Image(https://drive.google.com/open?id=1REVSr8IvfwvFj97eY7Y5sCi21mPLHIV-)]]

 Here is the result applying the attached patch ({{{is_email_new.patch}}})
 :

 [[Image(https://drive.google.com/open?id=1i7sEY8GVnas9fKI5q6_WsTTKHzBLKkiU)]]

 hope this will help !

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


More information about the wp-trac mailing list