Skip to content

Commit 589076a

Browse files
committed
Load textdomain later
1 parent b10d043 commit 589076a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content-security-policy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public function __construct() {
9494

9595
add_filter( 'register_translatable_package', [ $this, 'register_translatable_package' ], 12 );
9696

97-
add_action( 'plugins_loaded', [ $this, 'textdomain' ] );
97+
add_action( 'init', [ $this, 'textdomain' ] );
9898
add_action( 'wp_enqueue_scripts', [ $this, 'register_frontend_assets' ], 0 );
9999
add_action( 'admin_enqueue_scripts', [ $this, 'register_admin_assets' ] );
100100

0 commit comments

Comments
 (0)