Merge pull request #9258 from krautnerds/fix-status-update-order-comment
Add username on marking order status
This commit is contained in:
commit
033f8636a7
|
@ -489,7 +489,7 @@ class WC_AJAX {
|
|||
|
||||
if ( wc_is_order_status( 'wc-' . $status ) && $order_id ) {
|
||||
$order = wc_get_order( $order_id );
|
||||
$order->update_status( $status );
|
||||
$order->update_status( $status, '', true );
|
||||
do_action( 'woocommerce_order_edit_status', $order_id, $status );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue