Add KB link to the error message "Your MSS key is already used on another site"
MAILPOET-5162
This commit is contained in:
committed by
Aschepikov
parent
a4864f3ade
commit
4dba4f8b6a
@@ -140,7 +140,7 @@ class Services extends APIEndpoint {
|
||||
$error = __('Your key is not valid for the MailPoet Sending Service', 'mailpoet');
|
||||
break;
|
||||
case Bridge::KEY_ALREADY_USED:
|
||||
$error = __('Your MailPoet Sending Service key is already used on another site', 'mailpoet');
|
||||
$error = __('Your MailPoet Sending Service key is already [link]used on another site[/link]', 'mailpoet');
|
||||
break;
|
||||
default:
|
||||
$code = !empty($result['code']) ? $result['code'] : Bridge::CHECK_ERROR_UNKNOWN;
|
||||
@@ -209,7 +209,7 @@ class Services extends APIEndpoint {
|
||||
$error = __('Your key is not valid for MailPoet Premium', 'mailpoet');
|
||||
break;
|
||||
case Bridge::KEY_ALREADY_USED:
|
||||
$error = __('Your Premium key is already used on another site', 'mailpoet');
|
||||
$error = __('Your Premium key is already [link]used on another site[/link]', 'mailpoet');
|
||||
break;
|
||||
default:
|
||||
$code = !empty($result['code']) ? $result['code'] : Bridge::CHECK_ERROR_UNKNOWN;
|
||||
|
Reference in New Issue
Block a user