Don't clear WCCOM note when clicking the action button. (https://github.com/woocommerce/woocommerce-admin/pull/3909)
This commit is contained in:
parent
654484f04e
commit
581e483890
|
@ -191,7 +191,8 @@ class WC_Admin_Notes_Woo_Subscriptions_Notes {
|
||||||
$note->add_action(
|
$note->add_action(
|
||||||
'connect',
|
'connect',
|
||||||
__( 'Connect', 'woocommerce-admin' ),
|
__( 'Connect', 'woocommerce-admin' ),
|
||||||
'?page=wc-addons§ion=helper'
|
'?page=wc-addons§ion=helper',
|
||||||
|
WC_Admin_Note::E_WC_ADMIN_NOTE_UNACTIONED
|
||||||
);
|
);
|
||||||
$note->save();
|
$note->save();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue