-
Notifications
You must be signed in to change notification settings - Fork 381
Open
Labels
Description
Describe the bug
Using the pagination controls after deleting Discount Codes or Orders via the Delete row action link causes a notice to display.
After deleting an item, users are taken back to page 1. Customer mentioned it would be nice to take users back to the page they were on.
To Reproduce
Steps to reproduce the behavior:
- Go to Memberships > Settings > Discount Codes.
- If you have only one page of discount codes, use the screen options to reduce the number shown per page.
- Click on the Delete link on a Discount Code's row.
- Use the pagination buttons to change page.
- See Code not found notice and that URL parameters from the deletion are included in the new page's URL.
Expected behavior
No notices are displayed after using pagination.
Isolating the problem (mark completed items with an [x]):
- I have deactivated other plugins and confirmed this bug occurs when only Paid Memberships Pro plugin is active.
- This bug happens with a default WordPress theme active, or Memberlite.
- I can reproduce this bug consistently using the steps above.
WordPress Environment
Details
PMPro 3.5.3Reactions are currently unavailable
