theantichris/WordPress-Plugin-Boilerplate

PHP syntax error

Closed this issue · 3 comments

In commit 7352e64, to fix the translations, there is this line:

load_plugin_textdomain( $this->text_domain, false, $plugin_path + '\lang' );

This should be:

load_plugin_textdomain( $this->text_domain, false, $this->plugin_path . '\lang' );

Derp. That's what I get for editing it in GitHub and not an IDE.

2f187b4

The + should also be a .

Sorry about that. I've been working in C# and JavaScript too much.

8de8685