WordPress.org

Ready to get started?Download WordPress

Forums

Rehabtabs
[resolved] UTF-8 and non-latin characters (3 posts)

  1. rolice
    Member
    Posted 2 years ago #

    I would like to inform about a problem with other language characters in the titles (Cyrillic). The problem brakes the initialization of the Rehabtabs.

    I have replaced:
    $tab_id = sanitize_title( $tab['title'] ) . $key;

    with:

    // No unexpected characters
    $tab_id = /*sanitize_title( $tab['title'] )*/ 'rhbt_' . $key;

    ..which enabled proper work of the plugin. With urlencode/decode, the tabs were working, but were not connected to the correspoiding div.

    http://wordpress.org/extend/plugins/rehabtabs/

  2. Grant Mangham
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks for the tip rolice. I'm going to simplify the tab ID in a similar way for the next release.

  3. rolice
    Member
    Posted 2 years ago #

    I'm glad that I could help for improving this nice and useful plugin. :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags