Automattic/woocommerce-subscriptions-core

Admin notices missing when HPOS enabled

Closed this issue · 1 comments

Describe the bug

When HPOS is enabled, Admin notices such as "2 subscription statuses changed" are not shown to the user after performing a Bulk action on subscriptions.

To Reproduce

  1. Ensure HPOS is enabled.
  2. Go to WooCommerce --> Subscriptions to see the list of subscriptions.
  3. Select one or more subscriptions in the list.
  4. Go to 'Bulk actions' and select an option such as 'Move to Trash'.
  5. Click Apply.

Expected behavior

After clicking apply, an Admin Notice should be displayed giving the results of the bulk action, just like it does in legacy storage mode.

Actual behavior

The action is performed, but no Admin notice is displayed to let the user know the results. This impact is greater when the bulk action performed doesn't otherwise produce a change you might notice in the subscription list such as triggering an email to the subscriber.

Product impact

WooCommerce Subscriptions 6.5.0

  • Does this issue affect WooCommerce Subscriptions? yes/no/tbc, add issue ref

Additional context

WooCommerce 9.1.6
WordPress 6.5.5, 6.6.0

Ahh, I see a fix is underway.
#615