From a3dc69479ab18fca2ce0020f6844e11bff77eb0a Mon Sep 17 00:00:00 2001 From: Nathan Rice Date: Tue, 7 Mar 2017 15:18:28 -0500 Subject: [PATCH] Load textdomain first thing. --- genesis-simple-sidebars.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/genesis-simple-sidebars.php b/genesis-simple-sidebars.php index 4fb16ec..9f06a16 100644 --- a/genesis-simple-sidebars.php +++ b/genesis-simple-sidebars.php @@ -74,9 +74,9 @@ class Genesis_Simple_Sidebars { */ public function init() { - add_action( 'admin_notices', array( $this, 'requirements_notice' ) ); + $this->load_plugin_textdomain(); - add_action( 'init', array( $this, 'load_plugin_textdomain' ) ); + add_action( 'admin_notices', array( $this, 'requirements_notice' ) ); $this->includes(); $this->instantiate();