From 3e08e29f9ee69ce4f58d0130f2fdb150b4d796c2 Mon Sep 17 00:00:00 2001 From: Brent Shepherd Date: Tue, 5 Nov 2013 16:12:14 -0800 Subject: [PATCH] Use new notice API for "Add a Pay Method" notice Part of #3396 --- includes/shortcodes/class-wc-shortcode-my-account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/shortcodes/class-wc-shortcode-my-account.php b/includes/shortcodes/class-wc-shortcode-my-account.php index cf0ff27449d..fd130b044c1 100644 --- a/includes/shortcodes/class-wc-shortcode-my-account.php +++ b/includes/shortcodes/class-wc-shortcode-my-account.php @@ -367,7 +367,7 @@ class WC_Shortcode_My_Account { do_action( 'before_woocommerce_add_payment_method' ); - wc_add_message( __( 'Add a new payment method.', 'woocommerce' ) ); + wc_add_notice( __( 'Add a new payment method.', 'woocommerce' ) ); wc_print_messages();