WordPress.org

Make WordPress Core

Opened 7 years ago

Last modified 5 months ago

#5918 new enhancement

Allow non-ASCII usernames

Reported by: marshosh Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 2.3.3
Component: Users Keywords: has-patch needs-refresh
Focuses: Cc:

Description

Hello ...
I can't make New username with arabic characters ...

who i can apply an arabic characters in usernams ?

Thank you ...

Attachments (5)

registration.php.patch (779 bytes) - added by dwright 5 years ago.
dont enforce strict on registration names patch, against revision 12187
arabic_user_register.png (14.8 KB) - added by dwright 5 years ago.
register user with arabic name
arabic_user_login.png (24.2 KB) - added by dwright 5 years ago.
arabic user login
arabic_user_admin_area.png (2.3 KB) - added by dwright 5 years ago.
admin area (simple)
arabic_user_admin_area_edit2.png (42.6 KB) - added by dwright 5 years ago.
edit arabic user

Download all attachments as: .zip

Change History (32)

comment:1 @Denis-de-Bernardy6 years ago

  • Keywords needs-patch added; Arabic Non-English characters removed

related: #9591

comment:2 @Denis-de-Bernardy6 years ago

  • Component changed from General to Users
  • Owner anonymous deleted

comment:3 @Denis-de-Bernardy6 years ago

possibly related: #5472

comment:4 @dwright5 years ago

  • Cc david_v_wright@… added

Here is a patch that will enable a user to register with an arabic name.

(however, it also probably introduces security issues)

@dwright5 years ago

dont enforce strict on registration names patch, against revision 12187

@dwright5 years ago

register user with arabic name

@dwright5 years ago

arabic user login

@dwright5 years ago

admin area (simple)

@dwright5 years ago

edit arabic user

comment:5 @dwright5 years ago

  • Keywords has-patch added; needs-patch removed

comment:6 @ryan5 years ago

  • Milestone changed from 2.9 to 3.0

Something to consider for 3.0 after considering all security ramifications.

comment:7 @dd325 years ago

  • Keywords early added
  • Milestone changed from 3.0 to 3.1

Moving to 3.1, As ryan said, We need to consider any of the security ramifications of this change. We're nearing beta right now, it doesn't seem appropriate to change this late in the game.

comment:8 @nacin4 years ago

  • Keywords early removed
  • Milestone changed from Awaiting Triage to Future Release

comment:9 @mamouneyya4 years ago

  • Cc mamouneyya added
  • Summary changed from Registr with Arabic (Non-English) characters ? to Allow non-ASCII usernames
  • Version changed from 2.3.3 to 3.1

Please consider implementing this in 3.2. Registration always confuses my users because they cannot use non-ASCII characters.

comment:10 @dd324 years ago

  • Version changed from 3.1 to 2.3.3

Please leave the version field set to when it was originally reported.

comment:11 @mamouneyya4 years ago

Sorry, I was just trying to say that the same issue still exists in the latest version.

comment:12 @cupid43 years ago

  • Version changed from 2.3.3 to 3.3

I think this is really a must-have feature for WordPress, from my experience, trying to create Arabic website with WordPress, it made a lot of confusion to users cause they simply tried to make Arabic names and every time it tell them the name is wrong and never mentioned anything about language, not even a warning or a comment to say the name should be in English, so it took me a while and losing a lot of users too before I figured out that WordPress doesn't support Arabic names at all.

It's really needed fix for WordPress localization, there is no point of creating Arabic website if your users can't choose their name in Arabic :) I hope this is being considered for 3.3

comment:13 follow-up: @dd323 years ago

  • Version changed from 3.3 to 2.3.3

Version changed from 2.3.3 to 3.3

The version field is used to track when a issue was first raised, This need not be updated to a current release upon commenting. Any version between the "Version" and "Milestone" field is considered to be affected

comment:14 in reply to: ↑ 13 @cupid43 years ago

Replying to dd32:

Version changed from 2.3.3 to 3.3

The version field is used to track when a issue was first raised, This need not be updated to a current release upon commenting. Any version between the "Version" and "Milestone" field is considered to be affected

Okay, didn't mean to mess with anything, I just thought it's the right way to promote the ticket to the version. well, any comments about the ticket subject itself?

comment:15 @SergeyBiryukov3 years ago

#18666 has a workaround plugin to allow Arabic usernames.

comment:16 @bpetty2 years ago

Username values related: #17793, #16833

Also, this does not appear to actually be a bug, more of a feature request / enhancement.

WP might not have been clear in the past, and may have allowed more, but there is a specific set of valid characters for usernames, and it doesn't even include the full ASCII range now. See #17793 for a patch currently open to make valid characters more clear in user creation error messages.

I think it's safe to say at this point that the username values will never support any characters outside of it's current range of characters.

comment:17 @nacin2 years ago

  • Type changed from defect (bug) to enhancement

comment:18 @alex-ye2 years ago

  • Cc nashwan.doaqan@… added
  • Keywords needs-refresh added
  • Version 2.3.3 deleted

As the WordPress is a global script , non-ascii user names should be supported in the core , This ticket was opening before 5 years !

Last edited 2 years ago by alex-ye (previous) (diff)

comment:19 @alex-ye2 years ago

  • Version set to trunk

comment:20 @SergeyBiryukov2 years ago

  • Version changed from trunk to 2.3.3

comment:21 @alex-ye2 years ago

  • Version 2.3.3 deleted

comment:22 @alex-ye2 years ago

  • Version set to 3.5

The problem is still exists in WordPress 3.5

comment:23 follow-up: @SergeyBiryukov2 years ago

  • Version changed from 3.5 to 2.3.3

Version number indicates when the enhancement was initially suggested. See comment:13.

comment:24 in reply to: ↑ 23 @alex-ye2 years ago

Replying to SergeyBiryukov:

Version number indicates when the enhancement was initially suggested. See comment:13.

:) , Thank you for explaining .

comment:25 @SergeyBiryukov2 years ago

#23238 was marked as a duplicate.

comment:26 @iseulde14 months ago

Is this possible considering that usernames are used in urls like author pages? It's also worth noting that plugins might rely on the fact that the username is alphanumeric (e.g. P2's @mentions).

This is related to allowing non-ASCII post slugs and IDN support (see #10690 and #10298).

comment:27 @ircbot5 months ago

This ticket was mentioned in IRC in #wordpress-dev by SergeyBiryukov. View the logs.

Note: See TracTickets for help on using tickets.