Update the text in the admin notice

This commit is contained in:
Nestor Soriano 2023-10-04 11:03:18 +02:00
parent 428e1478fc
commit 3a07007b40
No known key found for this signature in database
GPG Key ID: 08110F3518C12CAD
1 changed files with 2 additions and 2 deletions

View File

@ -138,11 +138,11 @@ class WC_Admin_Notices {
'%s%s', '%s%s',
sprintf( sprintf(
'<h4>%s</h4>', '<h4>%s</h4>',
esc_html__( 'WooCommerce Legacy API to be removed soon', 'woocommerce' ) esc_html__( 'The WooCommerce Legacy REST API will be removed soon', 'woocommerce' )
), ),
sprintf( sprintf(
// translators: Placeholders are URLs. // translators: Placeholders are URLs.
wpautop( wp_kses_data( __( 'The WooCommerce Legacy REST API, <a href="%1$s">currently enabled in this site</a>, will be removed in WooCommerce 9.0. A separate WooCommerce extension will be available to re-enable it. <b><a target=”_blank” href="%2$s">Learn more about this change</a></b>', 'woocommerce' ) ) ), wpautop( wp_kses_data( __( 'The WooCommerce Legacy REST API, <a href="%1$s">currently enabled in this site</a>, will be removed in WooCommerce 9.0. A separate WooCommerce extension will be available to keep it enabled. <b><a target=”_blank” href="%2$s">Learn more about this change</a></b>', 'woocommerce' ) ) ),
admin_url( 'admin.php?page=wc-settings&tab=advanced&section=legacy_api' ), admin_url( 'admin.php?page=wc-settings&tab=advanced&section=legacy_api' ),
'https://developer.woocommerce.com/2023/10/03/the-legacy-rest-api-will-move-to-a-dedicated-extension-in-woocommerce-9-0/' 'https://developer.woocommerce.com/2023/10/03/the-legacy-rest-api-will-move-to-a-dedicated-extension-in-woocommerce-9-0/'
) )