Skip to content
Snippets Groups Projects
Commit c4502d89 authored by Erick Hitter's avatar Erick Hitter
Browse files

Fix location of languages directory

parent a5fcb932
Branches
Tags
1 merge request!4Add bulk actions
...@@ -103,7 +103,11 @@ class WP_Revisions_Control { ...@@ -103,7 +103,11 @@ class WP_Revisions_Control {
* Load plugin translations. * Load plugin translations.
*/ */
public function action_plugins_loaded() { public function action_plugins_loaded() {
load_plugin_textdomain( 'wp_revisions_control', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' ); load_plugin_textdomain(
'wp_revisions_control',
false,
dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/'
);
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment