Remove deprecated properties from newly created forms by form factory
[MAILPOET-2604]
This commit is contained in:
committed by
Veljko V
parent
30a188779d
commit
faa9c07eb1
@@ -14,7 +14,6 @@ class FormFactory {
|
|||||||
'id' => 'email',
|
'id' => 'email',
|
||||||
'name' => __('Email', 'mailpoet'),
|
'name' => __('Email', 'mailpoet'),
|
||||||
'type' => 'text',
|
'type' => 'text',
|
||||||
'static' => true,
|
|
||||||
'params' => [
|
'params' => [
|
||||||
'label' => __('Email', 'mailpoet'),
|
'label' => __('Email', 'mailpoet'),
|
||||||
'required' => true,
|
'required' => true,
|
||||||
@@ -25,7 +24,6 @@ class FormFactory {
|
|||||||
'id' => 'submit',
|
'id' => 'submit',
|
||||||
'name' => __('Submit', 'mailpoet'),
|
'name' => __('Submit', 'mailpoet'),
|
||||||
'type' => 'submit',
|
'type' => 'submit',
|
||||||
'static' => true,
|
|
||||||
'params' => [
|
'params' => [
|
||||||
'label' => __('Subscribe!', 'mailpoet'),
|
'label' => __('Subscribe!', 'mailpoet'),
|
||||||
],
|
],
|
||||||
|
Reference in New Issue
Block a user