converted text domain to string instead of constant
This commit is contained in:
@@ -15,9 +15,9 @@ class Widget extends \WP_Widget {
|
||||
function __construct () {
|
||||
return parent::__construct(
|
||||
'mailpoet_form',
|
||||
__('MailPoet Form', MAILPOET),
|
||||
__('MailPoet Form', 'mailpoet'),
|
||||
array(
|
||||
'description' => __('Add a newsletter subscription form', MAILPOET)
|
||||
'description' => __('Add a newsletter subscription form', 'mailpoet')
|
||||
)
|
||||
);
|
||||
}
|
||||
@@ -40,7 +40,7 @@ class Widget extends \WP_Widget {
|
||||
$instance = wp_parse_args(
|
||||
(array)$instance,
|
||||
array(
|
||||
'title' => __("Subscribe to Our Newsletter", MAILPOET)
|
||||
'title' => __("Subscribe to Our Newsletter", 'mailpoet')
|
||||
)
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user