diff --git a/src/TransientsManager.php b/src/TransientsManager.php index 5283c6f..ee11f97 100644 --- a/src/TransientsManager.php +++ b/src/TransientsManager.php @@ -119,7 +119,7 @@ public function getInstallTime() * @since 2.0 */ public function init() { - add_action( 'plugins_loaded', array( $this, 'text_domain' ) ); + add_action( 'after_setup_theme', array( $this, 'text_domain' ) ); add_action( 'admin_init', array( $this, 'set_vars' ) ); add_action( 'admin_init', array( $this, 'process_actions' ) ); add_action( 'admin_menu', array( $this, 'tools_link' ) );