Changeset 10777 for trunk/wp-includes/formatting.php
- Timestamp:
- 03/13/2009 07:04:39 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/formatting.php
r10769 r10777 1517 1517 // LOCAL PART 1518 1518 // Test for invalid characters 1519 $local = preg_replace( '/^[a-zA-Z0-9!#$%&\'*+\/=?^_`{|}~\.-]+$/', '', $local ); 1520 if ( '' === $local ) { 1519 if ( !preg_match( '/^[a-zA-Z0-9!#$%&\'*+\/=?^_`{|}~\.-]+$/', $local ) ) { 1521 1520 return apply_filters( 'sanitize_email', '', $email, 'local_invalid_chars' ); 1522 1521 }
Note: See TracChangeset
for help on using the changeset viewer.