From bc91ad26c2b2d3c3d75c82dd87fb16a2df8b2721 Mon Sep 17 00:00:00 2001 From: barryhughes <3594411+barryhughes@users.noreply.github.com> Date: Thu, 3 Aug 2023 16:17:52 -0700 Subject: [PATCH] Continue supporting bulk action redirect in both directions. --- .../src/Internal/Admin/Orders/PostsRedirectionController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/woocommerce/src/Internal/Admin/Orders/PostsRedirectionController.php b/plugins/woocommerce/src/Internal/Admin/Orders/PostsRedirectionController.php index 803a44a0622..7ac3d2385d8 100644 --- a/plugins/woocommerce/src/Internal/Admin/Orders/PostsRedirectionController.php +++ b/plugins/woocommerce/src/Internal/Admin/Orders/PostsRedirectionController.php @@ -84,7 +84,7 @@ class PostsRedirectionController { $new_url = add_query_arg( array( 'action' => $action, - 'order' => $posts, + 'id' => $posts, '_wp_http_referer' => $this->page_controller->get_orders_url(), '_wpnonce' => wp_create_nonce( 'bulk-orders' ), ),