Changeset 3794
- Timestamp:
- 05/26/06 17:27:33 (3 years ago)
- Files:
-
- branches/2.0/wp-includes/functions-formatting.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/2.0/wp-includes/functions-formatting.php
r3781 r3794 275 275 // If strict, reduce to ASCII for max portability. 276 276 if ( $strict ) 277 $username = preg_replace('|[^a-z0-9 _. -@]|i', '', $username);277 $username = preg_replace('|[^a-z0-9 _.\-@]|i', '', $username); 278 278 279 279 return apply_filters('sanitize_user', $username, $raw_username, $strict);
