Possible to create a user with an empty user_login using wp_insert_user
|Reported by:||westi||Owned by:||westi|
The code in wp_insert_user does not check to see if the sanitised name which will be used for user_login is actually a useful username.
It is therefore possible to end up with a user with an empty user_login which is not much use.
This is hilighted by #10319 which talk about issues with the import and non-ascii usernames.
The purpose of this ticket is to fix wp_insert_user to stop the users getting created.