WordPress.org

Ready to get started?Download WordPress

Forums

Simple Tags
[resolved] Internazionalization support bug (3 posts)

  1. aliciagh
    Member
    Posted 4 years ago #

    I've found a bug in load_plugin_textdomain function.
    Third parameter is a relative path to WP_PLUGIN_DIR but you use an absolut path. This is fixed changing:

    load_plugin_textdomain ( 'simpletags', false, STAGS_DIR . 'languages' );

    for:

    load_plugin_textdomain ( 'simpletags', false, STAGS_FOLDER . '/languages' );

    http://wordpress.org/extend/plugins/simple-tags/

  2. M
    Member
    Posted 3 years ago #

    Hey Alicia, can you please indicate the exact file where that function can be found?

    I'd like to user the internationalization option as well and your fix might just do it.

    Many thanks!

  3. biralucena
    Member
    Posted 3 years ago #

    Simple Tags 1.8 => simple-tags.php => line 70, below "// Load translations"

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic