Changeset 8748
- Timestamp:
- 08/27/2008 06:04:43 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.6/wp-includes/formatting.php
r8298 r8748 332 332 if ( $strict ) 333 333 $username = preg_replace('|[^a-z0-9 _.\-@]|i', '', $username); 334 335 // Consolidate contiguous whitespace 336 $username = preg_replace('|\s+|', ' ', $username); 334 337 335 338 return apply_filters('sanitize_user', $username, $raw_username, $strict);
Note: See TracChangeset
for help on using the changeset viewer.