Changeset 3481 for trunk/wp-includes/registration-functions.php
- Timestamp:
- 01/25/2006 03:09:16 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/registration-functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/registration-functions.php
r3351 r3481 9 9 10 10 return null; 11 } 12 13 function validate_username( $username ) { 14 $name = sanitize_user($username, true); 15 $valid = true; 16 17 if ( $name != $username ) 18 $valid = false; 19 20 return apply_filters('validate_username', $valid, $username); 11 21 } 12 22 … … 25 35 } 26 36 37 $user_login = sanitize_user($user_login, true); 38 27 39 if ( empty($user_nicename) ) 28 40 $user_nicename = sanitize_title( $user_login );
Note: See TracChangeset
for help on using the changeset viewer.