diff --git a/src/Admin/Notices.php b/src/Admin/Notices.php index c6952816..b7698d04 100644 --- a/src/Admin/Notices.php +++ b/src/Admin/Notices.php @@ -38,19 +38,19 @@ public function __construct() { */ public function add_notices() { // Halloween's promotion notice. - if ( ! $this->is_notice_dismissed( 'wcsn_halloween_promotion' ) ) { + if ( ! $this->is_notice_dismissed( 'wcsn_halloween_promotion_24' ) ) { if ( ! function_exists( 'wc_serial_numbers_pro' ) ) { $discount_percentage = esc_html__( '30%', 'wc-serial-numbers' ); $this->notices[] = array( 'type' => 'info', 'classes' => 'notice-alt notice-large wcsn-halloween', 'dismissible' => true, - 'id' => 'wcsn_halloween_promotion', + 'id' => 'wcsn_halloween_promotion_24', 'message' => sprintf( /* translators: %1$s: link to the plugin page, %2$s: Offer content, %3$s: link to the plugin page, %4$s: end link to the plugin page */ __( '%1$s%2$s%3$s Upgrade Now and Save %4$s', 'wc-serial-numbers' ), '
Grab a ' . $discount_percentage . ' discount on WC Serial Manager Pro and all our premium plugins this Halloween! Use code ‘BIGTREAT30’. Don\'t miss out!
', + '👻 Halloween Sale: ' . $discount_percentage . ' OFF on WC Serial Numbers ProGrab a ' . $discount_percentage . ' discount on WC Serial Numbers Pro and all our premium plugins this Halloween! Use code ‘BIGTREAT30’. Don\'t miss out!
', '', $discount_percentage . '