Skip to content

Commit 732b463

Browse files
committed
Fixed: translation loaded too early in some configurations.
1 parent 9d37ef7 commit 732b463

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function register() {
2020
add_action( 'plugins_loaded', [ $this, 'register_services' ], 9 );
2121

2222
// Load text domain.
23-
add_action( 'init', [ $this, 'load_plugin_textdomain' ] );
23+
add_action( 'init', [ $this, 'load_plugin_textdomain' ], 1000 );
2424
}
2525

2626
/**

0 commit comments

Comments
 (0)