Make WordPress Core


Ignore:
Timestamp:
07/22/2026 05:20:27 PM (7 weeks ago)
Author:
jonsurrell
Message:

Revert [62482]: Add support for unicode email addresses.

This reverts [62482] based on this decision:

Because of the vast surface area Unicode introduces and the security implications we should keep core as it is, and put this work into a community plugin…

Developed in https://github.com/WordPress/wordpress-develop/pull/12637.

Follow-up to [62482].

See #31992.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/auth.php

    r62482 r62829  
    15211521        public function test_wp_signon_using_email_with_an_apostrophe() {
    15221522                $user_args = array(
    1523                         'user_email' => "mail'@example.com",
     1523                        'user_email' => "mail\'@example.com",
    15241524                        'user_pass'  => 'password',
    15251525                );
     
    18341834        public function test_reset_password_with_apostrophe_in_email() {
    18351835                $user_args = array(
    1836                         'user_email' => "jo\'hn@example.com",
     1836                        'user_email' => "jo'hn@example.com",
    18371837                        'user_pass'  => 'password',
    18381838                );
Note: See TracChangeset for help on using the changeset viewer.