Closed james-allan closed 1 year ago
Trash a subscription ❌ Untrash all trashed subscriptions ❌ Delete permanently :x: Cancel and remove personal data ❌
I've fixed this with c97db78.
Turns out I wasn't returning out of parse_bulk_actions()
when processing actions that are handled by WC or WP core.
I've tested the latest changes and confirmed it's fixed the issues I found. There's still one issue remaining with fixing "Cancel and remove personal data" bulk action on stores with HPOS but I've created a separate issue for this as it'll require some bigger changes
Fixes #364 Fixes #320 Fixes #301
Description
On HPOS environments, admin bulk actions and subscription action links were erroring or redirecting to the orders table. There were a few different issues that this PR addresses.
handle_bulk_actions-{woocommerce_page_wc-orders--shop_subscription}
to tell it which page to redirect to after processing bulk actions. This PR does that.320
bulk-posts
tobulk-orders
). This change in nonce resulted in theThe link you followed has expired
errors.364
This PR fixes both those issues and includes some general tidying of the relevant code.
How to test this PR
Product impact