Opened 13 years ago
Closed 13 years ago
#2226 closed defect (bug) (fixed)
User Mention Doesn't Work With Non-Latin Usernames
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 2.4 | Priority: | normal |
| Severity: | normal | Version: | 2.2.3 |
| Component: | Component - Users | Keywords: | has-patch |
| Cc: | wordpress@…, aliso |
Description
WordPress provide the ability to overide the user name pattern to allow for non-Latin names .
So bbPress mention feature , should detect those changes or allow to provide a way to do it .
Attachments (2)
Change History (8)
#1
follow-up:
↓ 2
@
13 years ago
- Component changed from General to Users
- Milestone changed from Awaiting Review to 2.4
#2
in reply to:
↑ 1
@
13 years ago
Replying to johnjamesjacoby:
Where and how exactly does WordPress allow a special case for this?
It's possible by filtering sanitize_user function , see :
http://wordpress.org/extend/plugins/wordpress-special-characters-in-usernames/
For most user-facing things, we use user_login and/or user_nicename, and already hug closely to the core API's for doing anything with them.
There are no must , If you don't know many websites work on this behivor since a long time , What I want from bbPress is to provide a hook to change the regix that used to detect the user names .
#3
@
13 years ago
- Cc wordpress@… added
I think a filter here is a good idea, regardless if we plan to make this work for non-latin in core. Patch added.
Where and how exactly does WordPress allow a special case for this? For most user-facing things, we use user_login and/or user_nicename, and already hug closely to the core API's for doing anything with them.
Moving into 2.4, so we can look more into this sooner than later.