From ad83e7529a130d3d60b8368d01a13cfe772055b7 Mon Sep 17 00:00:00 2001 From: Seghir Nadir Date: Thu, 22 Sep 2022 13:17:26 +0100 Subject: [PATCH] switch to a permament link in errors (#7205) --- src/Payments/Api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Payments/Api.php b/src/Payments/Api.php index 295fa96d326..bc6a5a65ef2 100644 --- a/src/Payments/Api.php +++ b/src/Payments/Api.php @@ -138,7 +138,7 @@ public function verify_payment_methods_dependencies() { if ( ! wp_script_is( $dep, 'registered' ) ) { $error_handle = $dep . '-dependency-error'; $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( $dep ) );