Fix "Move to Trash" link in order edit screen (#39693)
* Order trash/delete link should use `id` querystring arg instead of `order` * Add changelog
This commit is contained in:
parent
eba89fff61
commit
8217339391
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: fix
|
||||
|
||||
Restore moving to trash functionality within HPOS order edit screen.
|
|
@ -103,7 +103,7 @@ class WC_Meta_Box_Order_Actions {
|
|||
$trash_order_url = add_query_arg(
|
||||
array(
|
||||
'action' => 'trash',
|
||||
'order' => array( $order_id ),
|
||||
'id' => array( $order_id ),
|
||||
'_wp_http_referer' => $order_list_url,
|
||||
),
|
||||
$order_list_url
|
||||
|
|
Loading…
Reference in New Issue