From 17d1aa11a2522aa4836b1d3a8dbad3c199b8ffac Mon Sep 17 00:00:00 2001 From: Nestor Soriano Date: Thu, 9 Nov 2023 09:15:19 +0100 Subject: [PATCH] Fix typographic quotes used in HTML attributes --- plugins/woocommerce/includes/admin/class-wc-admin-notices.php | 4 ++-- .../includes/admin/settings/class-wc-settings-advanced.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/woocommerce/includes/admin/class-wc-admin-notices.php b/plugins/woocommerce/includes/admin/class-wc-admin-notices.php index f0a058160c0..fa9f64b3351 100644 --- a/plugins/woocommerce/includes/admin/class-wc-admin-notices.php +++ b/plugins/woocommerce/includes/admin/class-wc-admin-notices.php @@ -147,7 +147,7 @@ class WC_Admin_Notices { ), sprintf( // translators: Placeholders are URLs. - wpautop( wp_kses_data( __( 'The WooCommerce Legacy REST API, currently enabled in this site, will be removed in WooCommerce 9.0. A separate WooCommerce extension will be available to keep it enabled. Learn more about this change.', 'woocommerce' ) ) ), + wpautop( wp_kses_data( __( 'The WooCommerce Legacy REST API, currently enabled in this site, will be removed in WooCommerce 9.0. A separate WooCommerce extension will be available to keep it enabled. Learn more about this change.', 'woocommerce' ) ) ), admin_url( 'admin.php?page=wc-settings&tab=advanced§ion=legacy_api' ), 'https://developer.woocommerce.com/2023/10/03/the-legacy-rest-api-will-move-to-a-dedicated-extension-in-woocommerce-9-0/' ) @@ -166,7 +166,7 @@ class WC_Admin_Notices { ), sprintf( // translators: Placeholders are URLs. - wpautop( wp_kses_data( __( 'The WooCommerce Legacy REST API will be removed in WooCommerce 9.0, and this will cause webhooks on this site that are configured to use the Legacy REST API to stop working. A separate WooCommerce extension will be available to allow these webhooks to keep using the Legacy REST API without interruption. You can also edit these webhooks to use the current REST API version to generate the payload instead. Learn more about this change.', 'woocommerce' ) ) ), + wpautop( wp_kses_data( __( 'The WooCommerce Legacy REST API will be removed in WooCommerce 9.0, and this will cause webhooks on this site that are configured to use the Legacy REST API to stop working. A separate WooCommerce extension will be available to allow these webhooks to keep using the Legacy REST API without interruption. You can also edit these webhooks to use the current REST API version to generate the payload instead. Learn more about this change.', 'woocommerce' ) ) ), admin_url( 'admin.php?page=wc-settings&tab=advanced§ion=webhooks&legacy=true' ), 'https://developer.woocommerce.com/2023/10/03/the-legacy-rest-api-will-move-to-a-dedicated-extension-in-woocommerce-9-0/' ) diff --git a/plugins/woocommerce/includes/admin/settings/class-wc-settings-advanced.php b/plugins/woocommerce/includes/admin/settings/class-wc-settings-advanced.php index a1ab21472bc..81dd5aa6ec6 100644 --- a/plugins/woocommerce/includes/admin/settings/class-wc-settings-advanced.php +++ b/plugins/woocommerce/includes/admin/settings/class-wc-settings-advanced.php @@ -395,7 +395,7 @@ class WC_Settings_Advanced extends WC_Settings_Page { $enable_legacy_api_setting['desc_tip'] = sprintf( // translators: Placeholder is a URL. __( - '⚠️ ️The Legacy REST API will be removed in WooCommerce 9.0. A separate WooCommerce extension will soon be available to keep it enabled. Learn more about this change.', + '⚠️ ️The Legacy REST API will be removed in WooCommerce 9.0. A separate WooCommerce extension will soon be available to keep it enabled. Learn more about this change.', 'woocommerce' ), 'https://developer.woocommerce.com/2023/10/03/the-legacy-rest-api-will-move-to-a-dedicated-extension-in-woocommerce-9-0/'