Skip to content

Commit d199c2b

Browse files
authored
Adjust texts and links in WC admin advanced settings. (#2450)
1 parent 0c10be4 commit d199c2b

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

changelog.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@
33
= 7.0.0 - 2022-xx-xx =
44
* Add - Auto-complete first and last name on checkout form when using Link payment method.
55
* Add - Allow subscription orders to be paid with Link payment method.
6+
* Add - Add inbox notification for Link payment method.
7+
* Tweak - Adjust texts and links in WC admin advanced settings.
68

79
= 6.9.0 - 2022-10-19 =
810
* Tweak - Remove remaining traces of old Stripe settings.
911
* Add - Add Boleto expiration setting.
1012
* Add - Declare incompatibility with HPOS.
11-
* Add - Add inbox notification for Link payment method.
1213

1314
= 6.8.0 - 2022-09-28 =
1415
* Fix - Minor adjustments for Custom Order Tables compatibility.

client/settings/advanced-settings-section/__tests__/index.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ describe( 'AdvancedSettings', () => {
3131

3232
expect( screen.queryByText( 'Debug mode' ) ).not.toBeInTheDocument();
3333
expect(
34-
screen.queryByText( 'Experimental features' )
34+
screen.queryByText( 'New checkout experience' )
3535
).not.toBeInTheDocument();
3636

3737
userEvent.click( screen.getByText( 'Advanced settings' ) );
3838

3939
expect( screen.queryByText( 'Debug mode' ) ).toBeInTheDocument();
4040
expect(
41-
screen.queryByText( 'Experimental features' )
41+
screen.queryByText( 'New checkout experience' )
4242
).toBeInTheDocument();
4343
} );
4444
} );

client/settings/advanced-settings-section/experimental-features.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,17 +93,20 @@ const ExperimentalFeatures = () => {
9393
return (
9494
<>
9595
<h4 ref={ headingRef } tabIndex="-1">
96-
{ __( 'Experimental features', 'woocommerce-gateway-stripe' ) }
96+
{ __(
97+
'New checkout experience',
98+
'woocommerce-gateway-stripe'
99+
) }
97100
</h4>
98101
<CheckboxControl
99102
data-testid="new-checkout-experience-checkbox"
100103
label={ __(
101-
'Try the new checkout experience (early access)',
104+
'Enable the updated checkout experience',
102105
'woocommerce-gateway-stripe'
103106
) }
104107
help={ createInterpolateElement(
105108
__(
106-
'Get early access to a new, smarter payment experience on checkout and let us know what you think by <feedbackLink>submitting your feedback</feedbackLink>. We recommend this feature for experienced merchants as the functionality is currently limited. <learnMoreLink>Learn more</learnMoreLink>',
109+
'Get access to a smarter payment experience on checkout and let us know what you think by <feedbackLink>submitting your feedback</feedbackLink>. We recommend this feature for experienced merchants as the functionality is currently limited. <learnMoreLink>Learn more</learnMoreLink>',
107110
'woocommerce-gateway-stripe'
108111
),
109112
{

readme.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,5 +132,6 @@ If you get stuck, you can ask for help in the Plugin Forum.
132132
* Add - Auto-complete first and last name on checkout form when using Link payment method.
133133
* Add - Allow subscription orders to be paid with Link payment method.
134134
* Add - Add inbox notification for Link payment method.
135+
* Tweak - Adjust texts and links in WC admin advanced settings.
135136

136137
[See changelog for all versions](https://raw.githubusercontent.com/woocommerce/woocommerce-gateway-stripe/trunk/changelog.txt).

0 commit comments

Comments
 (0)