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/rest-api/rest-comments-controller.php

    r62482 r62829  
    23222322                        'post'         => self::$post_id,
    23232323                        'author_name'  => 'Bleeding Gums Murphy',
    2324                         'author_email' => 'murphy@' . rand_long_str( 60 ) . '.' . rand_long_str( 60 ) . '.com',
     2324                        'author_email' => 'murphy@' . rand_long_str( 190 ) . '.com',
    23252325                        'author_url'   => 'http://jazz.gingivitis.com',
    23262326                        'content'      => 'This isn\'t a saxophone. It\'s an umbrella.',
     
    29552955
    29562956                $params = array(
    2957                         'author_email' => 'murphy@' . rand_long_str( 60 ) . '.' . rand_long_str( 60 ) . '.com',
     2957                        'author_email' => 'murphy@' . rand_long_str( 190 ) . '.com',
    29582958                        'content'      => 'This isn\'t a saxophone. It\'s an umbrella.',
    29592959                );
Note: See TracChangeset for help on using the changeset viewer.