Skip to content

Commit

Permalink
can't believe I've screwed up the load_plugin_textdomain for so long
Browse files Browse the repository at this point in the history
and it still works
  • Loading branch information
afragen committed Sep 4, 2016
1 parent 8aaab1e commit c0d7f23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github-updater.php
Expand Up @@ -45,7 +45,7 @@
}

// Load textdomain
load_plugin_textdomain( 'github-updater', false, __DIR__ . '/languages' );
load_plugin_textdomain( 'github-updater', false, basename( __DIR__ ) . '/languages' );

// Plugin namespace root
$root = array( 'Fragen\\GitHub_Updater' => __DIR__ . '/src/GitHub_Updater' );
Expand Down

0 comments on commit c0d7f23

Please sign in to comment.