PluginProbe
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder / 2.7.0
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder v2.7.0
3.3.1 V-3.3.0 3.2.2 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 V3.0.3 V3.0.2 -3.0.1 V_3.0.0 1.1.1 1.1.8 1.2 1.3 1.4 1.4.18 1.5.2 1.9 2.0 2.10.0 2.10.1 All 138 releases
← All changes | includes/Core/Fallback/Field.php +3 -3 3.2.12.7.0 View file →
@@ -55,9 +55,9 @@
55 55 $adminFormHandler = new AdminFormHandler();
56 56 foreach ($forms as $form) {
57 57 $formID = $form->id;
58 58 $formContent = json_decode($form->form_content);
59 - $fields = wp_json_encode($formContent->fields);
59 + $fields = json_encode($formContent->fields);
60 60 if (isset($formContent->buttons)) {
61 61 if (false === strpos($fields, '"btnTyp":"submit"')) {
62 62 $align = isset($formContent->buttons->align) ? $formContent->buttons->align : 'right';
63 63 $btnSiz = isset($formContent->buttons->btnSiz) ? $formContent->buttons->btnSiz : 'md';
@@ -74,9 +74,9 @@
74 74 $newID = $oldID;
75 75 }
76 76 }
77 77 $newID = $newID + 1;
78 - $sBtnID = "bf{$formID}-{$newID}";
78 + $sBtnID = "bf${formID}-${newID}";
79 79 $lY = 0;
80 80 $mY = 0;
81 81 $sY = 0;
82 82 foreach ($formContent->layout->lg as $lg) {
@@ -98,9 +98,9 @@
98 98 }
99 99 $sY = $sY + $sm->h + 1;
100 100 if (isset($formContent->buttons->rstBtnTxt)) {
101 101 $newID += 1;
102 - $rBtnID = "bf{$formID}-{$newID}";
102 + $rBtnID = "bf${formID}-${newID}";
103 103
104 104 if ($fulW) {
105 105 $btnData['btnTyp'] = 'submit';
106 106 $btnData['align'] = $align;