From 0aef1fd03bdd614e517bd72bef408252a36563d1 Mon Sep 17 00:00:00 2001 From: Alex S <17275120+AlexGStapleton@users.noreply.github.com> Date: Mon, 16 Dec 2024 12:55:34 +1300 Subject: [PATCH] Compat: Prevent `load_textdomain_just_in_time` --- inc/compatibility.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/compatibility.php b/inc/compatibility.php index 9cb16d2a..9a633c19 100644 --- a/inc/compatibility.php +++ b/inc/compatibility.php @@ -5,7 +5,7 @@ class SiteOrigin_Panels_Compatibility { public function __construct() { add_action( 'admin_init', array( $this, 'admin_init' ) ); - add_action( 'plugins_loaded', array( $this, 'init' ), 100 ); + add_action( 'init', array( $this, 'init' ), 100 ); } public static function single() {