Changeset 3795 for trunk/wp-includes/functions-formatting.php
- Timestamp:
- 05/26/2006 05:27:51 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/functions-formatting.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions-formatting.php
r3763 r3795 279 279 // If strict, reduce to ASCII for max portability. 280 280 if ( $strict ) 281 $username = preg_replace('|[^a-z0-9 _. -@]|i', '', $username);281 $username = preg_replace('|[^a-z0-9 _.\-@]|i', '', $username); 282 282 283 283 return apply_filters('sanitize_user', $username, $raw_username, $strict);
Note: See TracChangeset
for help on using the changeset viewer.