Ticket #23430: username-patch.patch
File username-patch.patch, 499 bytes (added by , 12 years ago) |
---|
-
wp-includes/formatting.php
908 908 909 909 // If strict, reduce to ASCII for max portability. 910 910 if ( $strict ) 911 $username = preg_replace( '|[^a-z0-9 _.\-@]|i', '', $username );911 $username = preg_replace( '|[^a-z0-9+ _.\-@]|i', '', $username ); 912 912 913 913 $username = trim( $username ); 914 914 // Consolidate contiguous whitespace