From c4502d8930a525fe90088eeb3bd07364bc0725e5 Mon Sep 17 00:00:00 2001
From: Erick Hitter <git-contrib@ethitter.com>
Date: Sun, 26 May 2019 11:23:38 -0700
Subject: [PATCH] Fix location of languages directory

---
 inc/class-wp-revisions-control.php | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/inc/class-wp-revisions-control.php b/inc/class-wp-revisions-control.php
index 87c8967..7386ff0 100644
--- a/inc/class-wp-revisions-control.php
+++ b/inc/class-wp-revisions-control.php
@@ -103,7 +103,11 @@ class WP_Revisions_Control {
 	 * Load plugin translations.
 	 */
 	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/'
+		);
 	}
 
 	/**
-- 
GitLab