WooCommerce 8.1 (https://github.com/woocommerce/woocommerce/pull/39524) introduced a change to the way they fetch order/subscription IDs from the ListTable bulk-edit request and instead of using $REQUEST['order'], they now use $REQUEST['id']. This broke the bulk-edit and quick-edit features on the subscriptions admin list table i.e. these links:
If you install WC 8.1 and have HPOS enabled, these links no longer work.
How to test this PR
Install WC 8.1+ and make sure HPOS is enabled.
Navigate to the the WooCommerce > Subscriptions list table.
Try to suspend a subscription using the quick links.
On trunk notice the subscription doesn't update
On this branch the subscription is updated.
Test the bulk actions drop-down continues to work
Product impact
[x] Added changelog entry (or does not apply)
[x] Will this PR affect WooCommerce Subscriptions? yes/no/tbc, add issue ref
[x] Will this PR affect WooCommerce Payments? yes/no/tbc, add issue ref
[ ] Added deprecated functions, hooks or classes to the spreadsheet
Fixes https://github.com/woocommerce/woocommerce-subscriptions/issues/4573
Description
WooCommerce 8.1 (https://github.com/woocommerce/woocommerce/pull/39524) introduced a change to the way they fetch order/subscription IDs from the ListTable bulk-edit request and instead of using
$REQUEST['order']
, they now use$REQUEST['id']
. This broke the bulk-edit and quick-edit features on the subscriptions admin list table i.e. these links:If you install WC 8.1 and have HPOS enabled, these links no longer work.
How to test this PR
trunk
notice the subscription doesn't updateProduct impact