Fix fatal errors in bulk order item delete
This commit is contained in:
parent
591b71ecbc
commit
1b7bc60ea2
|
@ -957,6 +957,7 @@ jQuery( function ( $ ) {
|
||||||
deferred.push( $.ajax({
|
deferred.push( $.ajax({
|
||||||
url : woocommerce_admin_meta_boxes.ajax_url,
|
url : woocommerce_admin_meta_boxes.ajax_url,
|
||||||
data: {
|
data: {
|
||||||
|
order_id : woocommerce_admin_meta_boxes.post_id,
|
||||||
order_item_ids: delete_items,
|
order_item_ids: delete_items,
|
||||||
action: 'woocommerce_remove_order_item',
|
action: 'woocommerce_remove_order_item',
|
||||||
security: woocommerce_admin_meta_boxes.order_item_nonce
|
security: woocommerce_admin_meta_boxes.order_item_nonce
|
||||||
|
|
Loading…
Reference in New Issue