From 3a07007b406b8fcd29ca482ce15d9ca268c822db Mon Sep 17 00:00:00 2001 From: Nestor Soriano Date: Wed, 4 Oct 2023 11:03:18 +0200 Subject: [PATCH] Update the text in the admin notice --- plugins/woocommerce/includes/admin/class-wc-admin-notices.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/woocommerce/includes/admin/class-wc-admin-notices.php b/plugins/woocommerce/includes/admin/class-wc-admin-notices.php index 971cf0bce70..9d5d909ea29 100644 --- a/plugins/woocommerce/includes/admin/class-wc-admin-notices.php +++ b/plugins/woocommerce/includes/admin/class-wc-admin-notices.php @@ -138,11 +138,11 @@ class WC_Admin_Notices { '%s%s', sprintf( '

%s

', - esc_html__( 'WooCommerce Legacy API to be removed soon', 'woocommerce' ) + esc_html__( 'The WooCommerce Legacy REST API will be removed soon', 'woocommerce' ) ), 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 re-enable it. 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/' )