converted text domain to string instead of constant
This commit is contained in:
@ -24,10 +24,10 @@ class Daemon {
|
||||
function run() {
|
||||
ignore_user_abort(true);
|
||||
if(!$this->request_data) {
|
||||
$error = __('Invalid or missing request data.', MAILPOET);
|
||||
$error = __('Invalid or missing request data.', 'mailpoet');
|
||||
} else {
|
||||
if(!$this->daemon) {
|
||||
$error = __('Daemon does not exist.', MAILPOET);
|
||||
$error = __('Daemon does not exist.', 'mailpoet');
|
||||
} else {
|
||||
if(!isset($this->request_data['token']) ||
|
||||
$this->request_data['token'] !== $this->daemon['token']
|
||||
|
Reference in New Issue
Block a user