Use updated label for WooCommerce checkout checkbox

[MAILPOET-2296]
This commit is contained in:
Rostislav Wolny
2020-01-27 10:55:15 +01:00
committed by Jack Kitterhing
parent edb70f25c1
commit 634b8214e2

View File

@ -281,10 +281,8 @@ class Populator {
if (empty($woocommerceOptinOnCheckout)) {
$this->settings->set('woocommerce.optin_on_checkout', [
'enabled' => empty($settingsDbVersion), // enable on new installs only
'message' => $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"),
'message' => $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"),
]);
// this is here only for translators to pick it up, after it is translated we will replace the other message with this one
$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");
}
// reset mailer log