Hello ...
I need to apply to registr with arabic characters ...
Now i can registr with A-Z & 0-9 characters only
who i can add an Arabic characters ?
Thank you
Hello ...
I need to apply to registr with arabic characters ...
Now i can registr with A-Z & 0-9 characters only
who i can add an Arabic characters ?
Thank you
Register for what? Where are you attempting to register?
I am sorry for My bad English ...
register = make New user-name & pass
i can't use arabic characters in user-name
Thank you
What username? Where? With your copy of WordPress? Or here? Or on WordPress.com?
Where are you trying to register? What are you trying to register for? You need to be more specific.
I am sorry for My bad English agen ...
Some people need to register (make New User) in my wordpress copy ...
he can use english characters only ... who i can apply an arabic characters in user-names ?
Umm.. Type in the characters you want to use? WordPress does not restrict the character set of usernames. It disallows a few characters, like > and < and such, but other than that it doesn't apply any real filtering to them. It will allow other things than just A-Z.
Otto42 : if i use an arabic characters in my wordpress , wordpress side : error in usernamw ...
who i can apply arabic characters in Usernames .
i think we must edit this file :
wp-includes >> formatting.php (Lines :317-319)
=========================================================
$username = preg_replace('|[^a-z0-9 _.\-@]|i', '', $username);
return apply_filters('sanitize_user', $username, $raw_username, $strict);
=========================================================
But how ?
Ah yes, I missed that.
Well, removing that code near the if ($strict) would do it, but I can't tell you what side effects that would have. It may even create a security risk.
Thank you Otto42 ...
Please can you write a New code ?
pecose i don't know php very will ...
Thank you agene ...
This topic has been closed to new replies.