Merge pull request #9258 from krautnerds/fix-status-update-order-comment

Add username on marking order status
This commit is contained in:
Claudio Sanches 2015-10-01 16:34:55 +02:00
commit 033f8636a7
1 changed files with 1 additions and 1 deletions

View File

@ -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 );
}
}