Adjust shipping calculations copy (#46022)

* Adjust shipping calculations copy

* Add changefile(s) from automation for the following project(s): woocommerce

---------

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Niels Lange 2024-03-28 12:59:09 +07:00 committed by GitHub
parent d24a551146
commit 89031ca8a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -0,0 +1,4 @@
Significance: patch
Type: update
Comment: This PR contains a minor textual update.

View File

@ -147,7 +147,7 @@ class ShippingController {
if ( 'woocommerce_shipping_cost_requires_address' === $setting['id'] ) { if ( 'woocommerce_shipping_cost_requires_address' === $setting['id'] ) {
$settings[ $index ]['desc'] = sprintf( $settings[ $index ]['desc'] = sprintf(
/* translators: %s: URL to the documentation. */ /* translators: %s: URL to the documentation. */
__( 'Not available when using the <a href="%s">Local pickup options powered by the Checkout block</a>.', 'woocommerce' ), __( 'Hide shipping costs until an address is entered (Not available when using the <a href="%s">Local pickup options powered by the Checkout block</a>)', 'woocommerce' ),
'https://woo.com/document/woocommerce-blocks-local-pickup/' 'https://woo.com/document/woocommerce-blocks-local-pickup/'
); );
$settings[ $index ]['disabled'] = true; $settings[ $index ]['disabled'] = true;