Skip to content

Commit

Permalink
switch to a permament link in errors (woocommerce#7205)
Browse files Browse the repository at this point in the history
  • Loading branch information
senadir committed Nov 12, 2022
1 parent 333c8fd commit 7cc6e7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Payments/Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
);
Expand Down

0 comments on commit 7cc6e7f

Please sign in to comment.