Ticket #18927: 18927.diff
File 18927.diff, 536 bytes (added by , 13 years ago) |
---|
-
formatting.php
1540 1540 function is_email( $email, $deprecated = false ) { 1541 1541 if ( ! empty( $deprecated ) ) 1542 1542 _deprecated_argument( __FUNCTION__, '3.0' ); 1543 1544 // Test for string 1545 if ( !is_string( $email ) ) { 1546 return apply_filters( 'is_email', false, $email, 'email_not_string' ); 1547 } 1543 1548 1544 1549 // Test for the minimum length the email can be 1545 1550 if ( strlen( $email ) < 3 ) {