• ?????

    (@marshosh)


    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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Register for what? Where are you attempting to register?

    Thread Starter ?????

    (@marshosh)

    I am sorry for My bad English …

    register = make New user-name & pass

    i can’t use arabic characters in user-name

    Thank you

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    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.

    Thread Starter ?????

    (@marshosh)

    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 ?

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    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.

    Thread Starter ?????

    (@marshosh)

    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 ?

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    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.

    Thread Starter ?????

    (@marshosh)

    Thank you Otto42 …

    Please can you write a New code ?

    pecose i don’t know php very will …

    Thank you agene …

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Registr with Arabic ( Non-English ) characters ?’ is closed to new replies.