WordPress.org

Make WordPress Core

Ticket #39133: 39133.diff

File 39133.diff, 458 bytes (added by PranaliPatel, 3 years ago)

Check email length ( to minimum of 5 )

  • src/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                 *