WordPress.org

Support

Support » Plugins and Hacks » Simple Tags » [Resolved] [Plugin: Simple Tags] Internazionalization support bug

[Resolved] [Plugin: Simple Tags] Internazionalization support bug

  • 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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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!

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: Simple Tags] Internazionalization support bug’ is closed to new replies.
Skip to toolbar