Missing i18n namespace in checkout optin label
This commit is contained in:
@ -279,8 +279,8 @@ class Populator {
|
||||
}
|
||||
|
||||
$woocommerceOptinOnCheckout = $this->settings->fetch('woocommerce.optin_on_checkout');
|
||||
$legacyLabelText = $this->wp->_x('Yes, I would like to be added to your mailing list', "default email opt-in message displayed on checkout page for ecommerce websites");
|
||||
$currentLabelText = $this->wp->_x('I would like to receive exclusive emails with discounts and product information', "default email opt-in message displayed on checkout page for ecommerce websites");
|
||||
$legacyLabelText = $this->wp->_x('Yes, I would like to be added to your mailing list', "default email opt-in message displayed on checkout page for ecommerce websites", 'mailpoet');
|
||||
$currentLabelText = $this->wp->_x('I would like to receive exclusive emails with discounts and product information', "default email opt-in message displayed on checkout page for ecommerce websites", 'mailpoet');
|
||||
if (empty($woocommerceOptinOnCheckout)) {
|
||||
$this->settings->set('woocommerce.optin_on_checkout', [
|
||||
'enabled' => empty($settingsDbVersion), // enable on new installs only
|
||||
|
Reference in New Issue
Block a user