Changed the line in function validate_username( $username ) in wp-includes/registration.php, around line 25 for WP 2.2
from:
if ( $name != $username )
to:
if (($name != $username) || (strlen($username) > 10))
It works.
pioneer_fawad Reviewed by pioneer_fawad on . Wordpress username.... Hi, Can someone please tell me that how can i limit the characters in the username of newly registered users ( on wordpress). Currently people can make as long of a username as they want and these are not going with my theme and things are looking messy. So if someone can tell me a little tweak or maybe a plugin, i'll be grateful. Rating: 5