Remove deprecated properties from newly created forms by form factory

[MAILPOET-2604]
This commit is contained in:
Rostislav Wolny
2020-03-24 15:23:05 +01:00
committed by Veljko V
parent 30a188779d
commit faa9c07eb1

View File

@@ -14,7 +14,6 @@ class FormFactory {
'id' => 'email',
'name' => __('Email', 'mailpoet'),
'type' => 'text',
'static' => true,
'params' => [
'label' => __('Email', 'mailpoet'),
'required' => true,
@@ -25,7 +24,6 @@ class FormFactory {
'id' => 'submit',
'name' => __('Submit', 'mailpoet'),
'type' => 'submit',
'static' => true,
'params' => [
'label' => __('Subscribe!', 'mailpoet'),
],