Fix a string for an expiring key [MAILPOET-743]

This commit is contained in:
Alexey Stoletniy
2017-01-25 19:59:10 +03:00
parent 98d6f55a6e
commit 157725c300

View File

@ -44,7 +44,7 @@ class Services extends APIEndpoint {
break;
case Bridge::MAILPOET_KEY_EXPIRING:
$error = sprintf(
__('Your MailPoet key is expiring on %s!', 'mailpoet'),
__('Your MailPoet key expires on %s!', 'mailpoet'),
Carbon::createFromTimestamp(strtotime($result['data']['expire_at']))
->format('Y-m-d')
);