Update subscription confirmation email subject
Allow shortcode processing in subject MAILPOET-4599
This commit is contained in:
committed by
Aschepikov
parent
448e89d062
commit
0595852d5a
@@ -4,7 +4,6 @@ namespace MailPoet\Settings;
|
||||
|
||||
use MailPoet\Cron\CronTrigger;
|
||||
use MailPoet\DI\ContainerWrapper;
|
||||
use MailPoet\WP\Functions as WPFunctions;
|
||||
|
||||
class SettingsController {
|
||||
|
||||
@@ -67,9 +66,8 @@ class SettingsController {
|
||||
],
|
||||
'signup_confirmation' => [
|
||||
'enabled' => true,
|
||||
// translators: %1$s is the name of the blog
|
||||
'subject' => sprintf(__('Confirm your subscription to %1$s', 'mailpoet'), WPFunctions::get()->getOption('blogname')),
|
||||
'body' => __("Hello [subscriber:firstname | default:there],\n\nYou've received this message because you subscribed to [site:title]. Please confirm your subscription to receive emails from us:\n\n[activation_link]Click here to confirm your subscription.[/activation_link] \n\nIf you received this email by mistake, simply delete it. You won't receive any more emails from us unless you confirm your subscription using the link above.\n\nThank you,\n\n<a target='_blank' href='[site:homepage_link]'>[site:title]</a>", 'mailpoet'),
|
||||
'subject' => __('Confirm your subscription to [site:title]', 'mailpoet'),
|
||||
'body' => __("Hello [subscriber:firstname | default:there],\n\nYou've received this message because you subscribed to [site:title]. Please confirm your subscription to receive emails from us:\n\n[activation_link]Click here to confirm your subscription.[/activation_link] \n\nIf you received this email by mistake, simply delete it. You won't receive any more emails from us unless you confirm your subscription using the link above.\n\nThank you,\n\n<a target=\"_blank\" href=\"[site:homepage_link]\">[site:title]</a>", 'mailpoet'),
|
||||
],
|
||||
'tracking' => [
|
||||
'level' => TrackingConfig::LEVEL_FULL,
|
||||
|
Reference in New Issue
Block a user