Allow whitespaces in usernames

When a new user tries to create an account, they cannot currently use spaces in their username. I want to allow users to use spaces when creating an account.

Unfortunatey there’s no such option because we use strict username validation sanitize_user() – Function | Developer.WordPress.org but we’ll consider making it optional. It’s better to use strict validation for consistent URLs.