From faa9c07eb13d31818c4371bd3ab10a12e87ab5ac Mon Sep 17 00:00:00 2001 From: Rostislav Wolny Date: Tue, 24 Mar 2020 15:23:05 +0100 Subject: [PATCH] Remove deprecated properties from newly created forms by form factory [MAILPOET-2604] --- lib/Form/FormFactory.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/Form/FormFactory.php b/lib/Form/FormFactory.php index f60a98c5e4..3897fbd4e5 100644 --- a/lib/Form/FormFactory.php +++ b/lib/Form/FormFactory.php @@ -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'), ],