ben-shaf (@ben-shaf)

Forum Replies Created

Viewing 1 replies (of 1 total)
  • I changed in formatting-functions.php this code:

    $text = preg_replace(‘/[^a-z0-9-]/i’, ”, $text);

    $text = preg_replace(‘|-+|’, ‘-‘, $text);

    to:

    $text = preg_replace(‘|%([a-fA-F0-9][a-fA-F0-9])|’, ”, $text);

    $text = preg_replace(‘/&.+?;/’, ”, $text);

    AND

    $text = preg_replace(‘/[^a-z0-9_-]/i’, ”, $text);

    to:

    $text = preg_replace(‘|[^a-z0-9 _.-@]|i’, ”, $text);

    * Original code from WordPress (formatting.php), maybe true :)

    Now, I can registration arab characters, but I can not login ( This username does not exist.)

    ????

Viewing 1 replies (of 1 total)