Skip to content

Commit 22c8cbc

Browse files
committed
Update to the copy on the WooPayments delete test orders tool.
1 parent f71962d commit 22c8cbc

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

includes/class-wc-payments-status.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,15 @@ public function debug_tools( $tools ) {
8181
'callback' => [ $this->account, 'refresh_account_data' ],
8282
],
8383
'delete_wcpay_test_orders' => [
84-
'name' => __( 'Delete test orders', 'woocommerce-payments' ),
84+
'name' => sprintf(
85+
/* translators: %s: WooPayments */
86+
__( 'Delete %s test orders', 'woocommerce-payments' ),
87+
'WooPayments'
88+
),
8589
'button' => __( 'Delete', 'woocommerce-payments' ),
8690
'desc' => sprintf(
8791
/* translators: %s: WooPayments */
88-
__( '<strong class="red">Note:</strong> This option will delete ALL orders created while %s test mode was enabled, use with caution. This action cannot be reversed.', 'woocommerce-payments' ),
92+
__( '<strong class="red">Note:</strong> This option deletes all test mode orders placed via %s. Orders placed via other gateways will not be affected. Use with caution, as this action cannot be undone.', 'woocommerce-payments' ),
8993
'WooPayments'
9094
),
9195
'callback' => [ $this, 'delete_test_orders' ],

0 commit comments

Comments
 (0)