From e77325a5331ce7274987c13247850dc12cf07ce9 Mon Sep 17 00:00:00 2001 From: helgatheviking <507025+helgatheviking@users.noreply.github.com> Date: Tue, 19 Dec 2023 08:50:20 -0500 Subject: [PATCH] load_plugin_textdomain needs to be static --- wc-not-sold-separately.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wc-not-sold-separately.php b/wc-not-sold-separately.php index eeb3caa..786f704 100644 --- a/wc-not-sold-separately.php +++ b/wc-not-sold-separately.php @@ -109,7 +109,7 @@ public static function init() { * * @since 2.2.0 */ - public function load_plugin_textdomain() { + public static function load_plugin_textdomain() { load_plugin_textdomain( 'wc-not-sold-separately', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' ); }