• Resolved The-Dude

    (@the-dude-1)


    Hi,

    my localisation plugin “Codestyling Localization ” told me, that autoptimize uses load_textdomain instead of the load_plugin_textdomain function. This can change the behavior of WordPress because some filters and actions are no longer executed. And i should contact the author about this.

    Ok you’re now informed. ?? Whats’s next?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    nah, false positive;

        add_action( 'init', array( $this, 'load_textdomain' ) );
        public function load_textdomain()
        {
            load_plugin_textdomain( 'autoptimize' );
        }

    ??

    Thread Starter The-Dude

    (@the-dude-1)

    What do you mean with this snippet? Causes this the error, or should i copy it into my functions.php … or what? ??

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    I mean that I do use load_plugin_textdomain() as seen on line 4 of that snippet, so all if fine, you have nothing to worry about ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘load_textdomain error in localisation plugin’ is closed to new replies.