Changes from branches/2.6/wp-includes/formatting.php at r8748 to trunk/wp-includes/formatting.php at r8298
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/formatting.php
r8748 r8298 332 332 if ( $strict ) 333 333 $username = preg_replace('|[^a-z0-9 _.\-@]|i', '', $username); 334 335 // Consolidate contiguous whitespace336 $username = preg_replace('|\s+|', ' ', $username);337 334 338 335 return apply_filters('sanitize_user', $username, $raw_username, $strict);
Note: See TracChangeset
for help on using the changeset viewer.