WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#41218 closed defect (bug) (invalid)

wordpress do not allow to register user name jonathanharris

Reported by: wordinvestor Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.8
Component: Login and Registration Keywords:
Focuses: administration Cc:

Description (last modified by SergeyBiryukov)

Hello,
I want to give a username jonathanharris to a user on my site‏ but when i enter this user name in add new user so wordpress says that "ERROR: This username is invalid because it uses illegal characters. Please enter a valid username."
but it don't have any illegal character, also i try it on another site and other site give same error.
Same for email address. email is jonathanharris‏@mydomainurl.co.uk and wordpress says that
ERROR: The email address isn’t correct.

I found something related on this ticket #19531 but it is very old ticket and also i enter username first time without any illegal character.

Both sites accept other usernames and email address.

Regards

Change History (6)

#1 @dhanendran
4 years ago

@wordinvestor I couldn't able to reproduce this issue in my WordPress setup. Can you disable all the plugins and check this case? Also check for validate_username filter in your code base and plugins.

#2 @SergeyBiryukov
4 years ago

  • Description modified (diff)

#3 @wordinvestor
4 years ago

  • Resolution set to invalid
  • Status changed from new to closed

Thank you very much @dhanendran for your reply.
Yes you are right that it is not the problem of wordpress. My both sites have same theme. I just try it on 3rd site after your reply and it accept this username.
This is the problem of theme i have installed on my sites.

#4 @SergeyBiryukov
4 years ago

  • Milestone Awaiting Review deleted

#5 @dhanendran
4 years ago

@wordinvestor can you share what theme you have used for your site? It can help others find this issue and theme developer can fix this issue.

#6 @wordinvestor
4 years ago

It is custom theme, not available for sale to other users.

Note: See TracTickets for help on using tickets.