WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/formatting.php

    r8748 r8298  
    332332    if ( $strict )
    333333        $username = preg_replace('|[^a-z0-9 _.\-@]|i', '', $username);
    334 
    335     // Consolidate contiguous whitespace
    336     $username = preg_replace('|\s+|', ' ', $username);
    337334
    338335    return apply_filters('sanitize_user', $username, $raw_username, $strict);
Note: See TracChangeset for help on using the changeset viewer.