Merge pull request #10682 from EmilEriksen/master

Change AJAX add coupon generic error notice type
This commit is contained in:
Mike Jolley 2016-04-13 10:05:30 -05:00
commit 2b20a5cbc1
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ class WC_AJAX {
$coupon = wc_clean( $_POST['coupon'] ); $coupon = wc_clean( $_POST['coupon'] );
if ( ! isset( $coupon ) || empty( $coupon ) ) { if ( ! isset( $coupon ) || empty( $coupon ) ) {
wc_add_notice( __( 'Sorry there was a problem removing this coupon.', 'woocommerce' ) ); wc_add_notice( __( 'Sorry there was a problem removing this coupon.', 'woocommerce' ), 'error' );
} else { } else {