Update wc-admin-functions.php

This commit is contained in:
dezio1900 2018-06-28 16:31:03 +02:00 committed by GitHub
parent cb2980596c
commit ac52ce4bad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ function wc_save_order_items( $order_id, $items ) {
}
// Allow other plugins to change item object before it is saved.
do_action( 'woocommerce_before_save_order_item', $item, $item_data, $order_id );
do_action( 'woocommerce_before_save_order_item', $item );
$item->save();
}