switch to a permament link in errors (https://github.com/woocommerce/woocommerce-blocks/pull/7205)
This commit is contained in:
parent
690ccb5191
commit
c52825ca7b
|
@ -138,7 +138,7 @@ class Api {
|
||||||
if ( ! wp_script_is( $dep, 'registered' ) ) {
|
if ( ! wp_script_is( $dep, 'registered' ) ) {
|
||||||
$error_handle = $dep . '-dependency-error';
|
$error_handle = $dep . '-dependency-error';
|
||||||
$error_message = sprintf(
|
$error_message = sprintf(
|
||||||
'Payment gateway with handle \'%1$s\' has been deactivated in Cart and Checkout blocks because its dependency \'%2$s\' is not registered. Read the docs about registering assets for payment methods: https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/trunk/docs/extensibility/payment-method-integration.md#registering-assets',
|
'Payment gateway with handle \'%1$s\' has been deactivated in Cart and Checkout blocks because its dependency \'%2$s\' is not registered. Read the docs about registering assets for payment methods: https://github.com/woocommerce/woocommerce-blocks/blob/060f63c04f0f34f645200b5d4da9212125c49177/docs/third-party-developers/extensibility/checkout-payment-methods/payment-method-integration.md#registering-assets',
|
||||||
esc_html( $payment_method_script ),
|
esc_html( $payment_method_script ),
|
||||||
esc_html( $dep )
|
esc_html( $dep )
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue