Skip to content

Commit

Permalink
changed hook where textdomain is loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
tghukasyan committed Oct 9, 2024
1 parent e68e10b commit 33bc64a
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 33bc64a

Please sign in to comment.