Skip to content

Commit

Permalink
Merge pull request #72 from awesomemotive/20241009-Change-hook-for-lo…
Browse files Browse the repository at this point in the history
…ading-textdomain

Changed hook where textdomain is loaded
  • Loading branch information
andreamk authored Oct 9, 2024
2 parents e68e10b + 33bc64a commit d9b0a9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TransientsManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' ) );
Expand Down

0 comments on commit d9b0a9e

Please sign in to comment.