Skip to content

Commit

Permalink
load_plugin_textdomain at init
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaydsouza authored Dec 16, 2024
1 parent d10e8b3 commit 5bc4e60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/frontend/class-language-handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Language_Handler {
* @since 3.5.0
*/
public function __construct() {
add_action( 'plugins_loaded', array( $this, 'load_plugin_textdomain' ) );
add_action( 'init', array( $this, 'load_plugin_textdomain' ) );
add_filter( 'crp_query_the_posts', array( $this, 'translate_ids' ), 999 );
}

Expand Down

0 comments on commit 5bc4e60

Please sign in to comment.