Fix fatal errors in bulk order item delete

This commit is contained in:
claudiulodro 2017-08-11 08:40:13 -07:00
parent 591b71ecbc
commit 1b7bc60ea2
1 changed files with 1 additions and 0 deletions

View File

@ -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