From e1626125c14cc122a663b3dbf02013500de86a67 Mon Sep 17 00:00:00 2001 From: Tarun Vijwani Date: Fri, 20 Oct 2023 14:13:55 +0400 Subject: [PATCH] Add decoding to site title to allow quotes (#11334) --- src/Assets/AssetDataRegistry.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Assets/AssetDataRegistry.php b/src/Assets/AssetDataRegistry.php index 107bd9babac..f8fed09cc26 100644 --- a/src/Assets/AssetDataRegistry.php +++ b/src/Assets/AssetDataRegistry.php @@ -92,7 +92,7 @@ protected function get_core_data() { 'orderStatuses' => $this->get_order_statuses(), 'placeholderImgSrc' => wc_placeholder_img_src(), 'productsSettings' => $this->get_products_settings(), - 'siteTitle' => get_bloginfo( 'name' ), + 'siteTitle' => wp_specialchars_decode( get_bloginfo( 'name' ), ENT_QUOTES ), 'storePages' => $this->get_store_pages(), 'wcAssetUrl' => plugins_url( 'assets/', WC_PLUGIN_FILE ), 'wcVersion' => defined( 'WC_VERSION' ) ? WC_VERSION : '',