From 6093db043a9bf0eef96f06cd35494c4de494bda6 Mon Sep 17 00:00:00 2001 From: louwie17 Date: Tue, 24 Aug 2021 16:04:49 -0300 Subject: [PATCH] Fix wrong function name (https://github.com/woocommerce/woocommerce-admin/pull/7557) --- plugins/woocommerce-admin/src/WCAdminSharedSettings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/woocommerce-admin/src/WCAdminSharedSettings.php b/plugins/woocommerce-admin/src/WCAdminSharedSettings.php index dd245097db7..b6a907cf2c8 100644 --- a/plugins/woocommerce-admin/src/WCAdminSharedSettings.php +++ b/plugins/woocommerce-admin/src/WCAdminSharedSettings.php @@ -30,7 +30,7 @@ class WCAdminSharedSettings { */ protected function __construct() { if ( did_action( 'woocommerce_blocks_loaded' ) ) { - $this->on_plugins_loaded(); + $this->on_woocommerce_blocks_loaded(); } else { add_action( 'woocommerce_blocks_loaded', array( $this, 'on_woocommerce_blocks_loaded' ), 10 ); }