Automattic / woocommerce-subscriptions-core

Subscriptions core package for WooCommerce
Other
81 stars 29 forks source link

Typo in confirmation alert when users remove an item from a subscription #438

Closed james-allan closed 2 months ago

james-allan commented 1 year ago

Describe the bug

There's a typo in the notice shown to users when they remove an item from their subscription.

Screenshot 2023-05-04 at 4 29 10 pm

There's a missing "to". The message should read:

Are you sure you want to remove this item from your subscription?

To Reproduce

  1. Purchase a subscription with at least 2 separate line items. (See example screenshot below)
  2. Go to the My Account > Subscriptions page.
  3. Click the x next to one of the items.
  4. You should see the notice shown above.
Screenshot 2023-05-04 at 4 29 47 pm

The line in question lives here:

https://github.com/Automattic/woocommerce-subscriptions-core/blob/acf0ec932bea59c92bab0fe2a469a9313b3b6f05/templates/myaccount/subscription-totals-table.php#L35