Fix a string for an expiring key [MAILPOET-743]
This commit is contained in:
@ -44,7 +44,7 @@ class Services extends APIEndpoint {
|
|||||||
break;
|
break;
|
||||||
case Bridge::MAILPOET_KEY_EXPIRING:
|
case Bridge::MAILPOET_KEY_EXPIRING:
|
||||||
$error = sprintf(
|
$error = sprintf(
|
||||||
__('Your MailPoet key is expiring on %s!', 'mailpoet'),
|
__('Your MailPoet key expires on %s!', 'mailpoet'),
|
||||||
Carbon::createFromTimestamp(strtotime($result['data']['expire_at']))
|
Carbon::createFromTimestamp(strtotime($result['data']['expire_at']))
|
||||||
->format('Y-m-d')
|
->format('Y-m-d')
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user