Changeset 8704 for trunk/wp-includes/formatting.php
- Timestamp:
- 08/21/2008 10:58:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/formatting.php
r8662 r8704 447 447 if ( $strict ) 448 448 $username = preg_replace('|[^a-z0-9 _.\-@]|i', '', $username); 449 450 // Consolidate contiguous whitespace 451 $username = preg_replace('|\s+|', ' ', $username); 449 452 450 453 return apply_filters('sanitize_user', $username, $raw_username, $strict);
Note: See TracChangeset
for help on using the changeset viewer.