Add WC customizer activation button to the editor [MAILPOET-2520]

This commit is contained in:
wxa
2019-11-13 21:41:28 +03:00
committed by Jack Kitterhing
parent 21fb16116d
commit b528b732a5
6 changed files with 37 additions and 2 deletions

View File

@ -105,8 +105,8 @@ class Settings {
if (isset($_GET['enable-customizer-notice'])) {
$notice = new WPNotice(WPNotice::TYPE_ERROR, $this->wp->_x(
'You need to enable MailPoet email customizer for WooCommerce if you want to access to the customizer.',
'Notice in Settings when WooCommerce customizer is not enabled'
'You need to have WooCommerce active to access the MailPoet email customizer for WooCommerce.',
'Notice in Settings when WooCommerce is not enabled'
), 'mailpoet');
$notice->displayWPNotice();
}