Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author kavingray

    (@kavingray)

    Thanks for reporting, Please post the sample code. I will roll the fix into the next update.

    Plugin Author kavingray

    (@kavingray)

    Fixed and update is on GitHub. https://github.com/kavingray/WP-UI ( Click Zip )

    Thread Starter thaleslqa

    (@thaleslqa)

    Thank you. problem solved.

    Hey Kavin,

    This is still proving a proving an issue for me. I am using the content as here – http://pastebin.com/iBcet9Jv

    I am getting a JavaScript error as “Uncaught Error: Syntax error, unrecognized expression: #how_long_does_it_take_to_receive_my_xxx_print_once_ive_completed_my_order?”

    Can you please check this?

    Thanks!

    This is not resolved; I’m using the current version of the plugin, and using periods and commas in the tab title breaks it.

    I am reporting the same issue. A period breaks the tab.

    The problem is following replace statement in wp-ui.js:

    .replace(/[^A-Za-z0-9\s_\-]/m,'')

    It’s removing special characters from the title, but it’s only removing the first instance.

    replace it with:

    .replace(/[^A-Za-z0-9\s_\-]/gm,'')

    The wp-ui.js file is packed with dean edwards packer. So you have to unpack it first.

    This is particularly problematic for translated pages that use special language characters (e.g. Chinese). I currently have the “Use Old Scripts API” option checked, which solves the problem, but I’d love to see the latest version of this plugin work too. It seems that every time I update this plugin, I still have to check this box, despite all the assurances that things should now be working.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘tabtitle not working with special characters ( ) [ ] /’ is closed to new replies.