PluginProbe
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder / 3.3.1
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder v3.3.1
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/Admin/Form/ScriptFilePriorityManager.php +2 -0 3.1.43.3.1 View file →
@@ -385,8 +385,10 @@
385 385 }
386 386
387 387 public static function validationScriptFileMapping($fieldType)
388 388 {
389 + // Pro filter callbacks type-hint string; never let null/non-string through.
390 + $fieldType = is_string($fieldType) ? $fieldType : '';
389 391 $textTypeField = ['text', 'password', 'username', 'color'];
390 392 if (in_array($fieldType, $textTypeField)) {
391 393 $fieldType = 'text';
392 394 }