[wp-trac] [WordPress Trac] #31992: Unicode Email Addresses

WordPress Trac noreply at wordpress.org
Fri Jan 2 13:21:49 UTC 2026


#31992: Unicode Email Addresses
-------------------------------------------------+-------------------------
 Reporter:  ysalame                              |       Owner:
                                                 |  SergeyBiryukov
     Type:  defect (bug)                         |      Status:  accepted
 Priority:  normal                               |   Milestone:  7.0
Component:  Formatting                           |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-test-info has-patch has-         |     Focuses:
  screenshots has-unit-tests                     |
-------------------------------------------------+-------------------------

Comment (by senadir):

 I'm looking into modifying WooCommerce checkout to accept such emails, for
 now, in the client, we use `@wordpress/url` `isEmail` which has this regex
 that won't pass the above
 `/^(mailto:)?[a-z0-9._%+-]+@[a-z0-9][a-z0-9.-]*\.[a-z]{2,63}$/i;`. Would
 it be possible that once a regex in this patch land, it also includes a
 change in the WordPress JS package?

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


More information about the wp-trac mailing list