Viewing 2 replies - 1 through 2 (of 2 total)
  • For the name we are using preg_replace function which is creating this problem. I have no idea about how to support Cyrillic for preg_replace! I’m giving you a solution but I can’t assure you that it will work. First, open process_table-option.php file in the lib folder. Go to line 288 and replace the code with the below code:

    $pricing_table_name = $_POST['pricing_table_name'] != '' ? trim(preg_replace( '/[^A-Za-z0-9-\w_]+/u', '_', sanitize_text_field( $_POST['pricing_table_name'] ))) : $pricing_table;

    Let me know if you still having problem.

    Thread Starter savsoft

    (@savsoft)

    I changed the code. It works. Thank you very much.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘The Cyrillic name for pricing table’ is closed to new replies.