Username in Hebrew
-
Hello,
i’m trying to get the username to work with Hebrew characters (i’m working with Buddypress).
I found a code someone posted 2 years ago, which i need to replace in wp-includes->formatting.php, but it’s not working anymore, i guess because of all the version updates.Would appreciate it if someone could check it out and suggest a code which would work with the latest version of WP.
This is the not working one:
$username = preg_replace( ‘|%([a-fA-F0-9][a-fA-F0-9])|’, “, $username );
{/code}And it’s supposed to replace this code:
$username = preg_replace( ‘|%([a-fA-F0-9][a-fA-F0-9][u0591-u05F4])|’, “, $username );
Thank you!
Maya.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Username in Hebrew’ is closed to new replies.