Changeset 4693
- Timestamp:
- 01/07/07 07:52:57 (2 years ago)
- Files:
-
- trunk/wp-admin/admin-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-admin/admin-functions.php
r4687 r4693 498 498 $user->user_pass = $pass1; 499 499 500 if ( ! validate_username( $user->user_login ) )500 if ( !$update && !validate_username( $user->user_login ) ) 501 501 $errors->add( 'user_login', __( '<strong>ERROR</strong>: This username is invalid. Please enter a valid username.' )); 502 502
