diff --git a/includes/core/classes/class-setup.php b/includes/core/classes/class-setup.php index 868612175..4560f1191 100644 --- a/includes/core/classes/class-setup.php +++ b/includes/core/classes/class-setup.php @@ -79,7 +79,7 @@ protected function setup_hooks(): void { register_activation_hook( GATHERPRESS_CORE_FILE, array( $this, 'activate_gatherpress_plugin' ) ); register_deactivation_hook( GATHERPRESS_CORE_FILE, array( $this, 'deactivate_gatherpress_plugin' ) ); - add_action( 'init', array( $this, 'load_textdomain' ) ); + add_action( 'init', array( $this, 'load_textdomain' ), 9 ); add_action( 'init', array( $this, 'maybe_flush_gatherpress_rewrite_rules' ) ); add_action( 'admin_notices', array( $this, 'check_users_can_register' ) );