Resolve conflict
This commit is contained in:
parent
9ddca77abd
commit
92a62c4ae4
|
@ -517,7 +517,7 @@ class WC_Form_Handler {
|
|||
$order->cancel_order( __('Order cancelled by customer.', 'woocommerce' ) );
|
||||
|
||||
// Message
|
||||
wc_add_notice( __( 'Your order was cancelled.', 'woocommerce' ) );
|
||||
wc_add_notice( apply_filters( 'woocommerce_order_cancelled_notice', __( 'Your order was cancelled.', 'woocommerce' ) ), apply_filters( 'woocommerce_order_cancelled_notice_type', 'notice' ) );
|
||||
|
||||
do_action( 'woocommerce_cancelled_order', $order->id );
|
||||
|
||||
|
|
Loading…
Reference in New Issue