From 1ac77ef109b0b82f5811c07d57e14b39240f24f6 Mon Sep 17 00:00:00 2001 From: Darren Ethier Date: Fri, 10 Nov 2023 17:03:18 -0500 Subject: [PATCH] fix variable name! --- src/BlockTypes/MiniCart.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BlockTypes/MiniCart.php b/src/BlockTypes/MiniCart.php index 60a40c5a641..ae929ee084d 100644 --- a/src/BlockTypes/MiniCart.php +++ b/src/BlockTypes/MiniCart.php @@ -590,8 +590,8 @@ public function register_empty_cart_message_block_pattern() { */ public function register_auto_insert( $hooked_blocks, $position, $anchor_block, $context ) { // Cache for active theme. - static $active_theme = null; - if ( is_null( $active_theme ) ) { + static $active_theme_name = null; + if ( is_null( $active_theme_name ) ) { $active_theme_name = wp_get_theme()->get( 'Name' ); } /**