WordPress.org

Make WordPress Core

Ticket #38708: 38708.diff

File 38708.diff, 446 bytes (added by lukecavanagh, 4 years ago)

Basic patch.

  • wp-includes/formatting.php

     
    28652865                _deprecated_argument( __FUNCTION__, '3.0.0' );
    28662866
    28672867        // Test for the minimum length the email can be
    2868         if ( strlen( $email ) < 3 ) {
     2868        if ( strlen( $email ) < 6 ) {
    28692869                /**
    28702870                 * Filters whether an email address is valid.
    28712871                 *