Add rel="noopener noreferrer" to links
[MAILPOET-1787]
This commit is contained in:
@ -62,6 +62,7 @@ class MailPoetMapper {
|
||||
array(
|
||||
'class' => 'button button-primary',
|
||||
'target' => '_blank',
|
||||
'rel' => 'noopener noreferrer',
|
||||
)
|
||||
);
|
||||
$message .= ' <button class="button js-button-resume-sending">' . __('Resume sending', 'mailpoet') . '</button>';
|
||||
@ -71,7 +72,10 @@ class MailPoetMapper {
|
||||
$message = Helpers::replaceLinkTags(
|
||||
__('You currently are not permitted to send any emails with MailPoet Sending Service, which may have happened due to poor deliverability. Please [link]contact our support team[/link] to resolve the issue.', 'mailpoet'),
|
||||
'https://www.mailpoet.com/support/',
|
||||
array('target' => '_blank')
|
||||
array(
|
||||
'target' => '_blank',
|
||||
'rel' => 'noopener noreferrer',
|
||||
)
|
||||
);
|
||||
}
|
||||
break;
|
||||
|
Reference in New Issue
Block a user