Merge pull request #805 from woocommerce/PCP-889-wrong-link-for-get-help-resource

Fix the "get Help" links
This commit is contained in:
Emili Castells 2022-08-29 12:49:51 +02:00 committed by GitHub
commit e363971212
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -65,7 +65,7 @@ class HeaderRenderer {
<a class="button" href="https://woocommerce.com/document/woocommerce-paypal-payments/">'
. __( 'Documentation', 'woocommerce-paypal-payments' ) .
'</a>
<a class="button" href="https://woocommerce.com/my-account/create-a-ticket/">'
<a class="button" target="_blank" href="https://woocommerce.com/document/woocommerce-paypal-payments/#get-help">'
. __( 'Get Help', 'woocommerce-paypal-payments' ) .
'</a>
<span class="ppcp-right-align">

View file

@ -160,8 +160,8 @@ define( 'PPCP_FLAG_SEPARATE_APM_BUTTONS', apply_filters( 'woocommerce_paypal_pay
__( 'Documentation', 'woocommerce-paypal-payments' )
),
sprintf(
'<a href="%1$s">%2$s</a>',
'https://woocommerce.com/my-account/create-a-ticket/',
'<a target="_blank" href="%1$s">%2$s</a>',
'https://woocommerce.com/document/woocommerce-paypal-payments/#get-help',
__( 'Get help', 'woocommerce-paypal-payments' )
),
sprintf(