From 717673151e95ccae1f1985798dd8b4e9ad2f365e Mon Sep 17 00:00:00 2001
From: Erick Hitter <git-contrib@ethitter.com>
Date: Sat, 25 Jun 2022 12:28:38 -0700
Subject: [PATCH] Fix hook for textdomain loading

---
 tag-dropdown-widget.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tag-dropdown-widget.php b/tag-dropdown-widget.php
index 913e90c..1d95fc6 100644
--- a/tag-dropdown-widget.php
+++ b/tag-dropdown-widget.php
@@ -80,7 +80,7 @@ class taxonomy_dropdown_widget_plugin {
 	 * @return null
 	 */
 	protected function setup() {
-		add_action( 'plugin_loaded', array( $this, 'load_textdomain' ) );
+		add_action( 'plugins_loaded', array( $this, 'load_textdomain' ) );
 		add_action( 'widgets_init', array( $this, 'action_widgets_init' ) );
 
 		register_activation_hook( __FILE__, array( $this, 'activation_hook' ) );
-- 
GitLab