Don't clear WCCOM note when clicking the action button. (https://github.com/woocommerce/woocommerce-admin/pull/3909)

This commit is contained in:
Jeff Stieler 2020-03-17 14:32:27 -06:00 committed by GitHub
parent 654484f04e
commit 581e483890
1 changed files with 2 additions and 1 deletions

View File

@ -191,7 +191,8 @@ class WC_Admin_Notes_Woo_Subscriptions_Notes {
$note->add_action(
'connect',
__( 'Connect', 'woocommerce-admin' ),
'?page=wc-addons&section=helper'
'?page=wc-addons&section=helper',
WC_Admin_Note::E_WC_ADMIN_NOTE_UNACTIONED
);
$note->save();
}