Skip to content

Commit

Permalink
Update URLs to prevent redirects and missing anchors (#8881)
Browse files Browse the repository at this point in the history
  • Loading branch information
csmcneill committed Aug 6, 2024
1 parent 3d8a1d3 commit c89d7de
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions changelog/Update URLs and anchors.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: update
Comment: PR updates URLs but does not resolve any 404 errors or other functionality. Very little changes that an end-user will notice.


2 changes: 1 addition & 1 deletion client/bnpl-announcement/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const Dialog = () => {
);
setIsHidden( true );
} }
href="https://woo.com/document/woopayments/payment-methods/buy-now-pay-later/"
href="https://woocommerce.com/document/woopayments/payment-methods/buy-now-pay-later/"
>
{ __( 'Learn more', 'woocommerce-payments' ) }
</ExternalLink>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const CapabilityRequestList: Array< CapabilityRequestMap > = [
),
actions: 'link',
actionUrl:
'https://woocommerce.com/document/woopayments/payment-methods/#jcb',
'https://woocommerce.com/document/woopayments/payment-methods/jcb-for-merchants-in-japan/',
actionsLabel: __( 'Finish setup', 'woocommerce-payments' ),
},
pending: {
Expand Down
2 changes: 1 addition & 1 deletion client/utils/account-fees.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export const formatMethodFeesTooltip = (
? 1 - accountFees.discount[ 0 ].discount
: 1;

// Per https://woo.com/es/terms-conditions/woopayments-promotion-2023/ we exclude FX fees from discounts.
// Per https://woocommerce.com/terms-conditions/woopayments-promotion-2023/ we exclude FX fees from discounts.
const total = {
percentage_rate:
accountFees.base.percentage_rate * discountAdjustedFeeRate +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class WC_Payments_Notes_Set_Https_For_Checkout {
/**
* Name of the note for use in the database.
*/
const NOTE_DOCUMENTATION_URL = 'https://woocommerce.com/document/ssl-and-https/#section-7';
const NOTE_DOCUMENTATION_URL = 'https://woocommerce.com/document/ssl-and-https/#woocommerce-force-ssl-setting';

/**
* Checks if a note can and should be added.
Expand Down

0 comments on commit c89d7de

Please sign in to comment.