PluginProbe
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder / 2.15.3
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder v2.15.3
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/Util/MetaBoxService.php +1 -8 3.2.22.15.3 View file →
@@ -19,15 +19,8 @@
19 19 'taxonomy',
20 20 'taxonomy_advanced',
21 21 ];
22 22
23 - $supportedFieldType = [
24 - 'select',
25 - 'select_advanced',
26 - 'checkbox_list',
27 - 'radio_list'
28 - ];
29 -
30 23 $fileTypes = [
31 24 'image',
32 25 'image_upload',
33 26 'file_advanced',
@@ -44,9 +37,9 @@
44 37
45 38 $metaBoxFields = rwmb_get_object_fields($postType);
46 39
47 40 foreach ($metaBoxFields as $index => $field) {
48 - if (in_array($field['type'], $unsupportedTypes) && !in_array($field['field_type'], $supportedFieldType)) {
41 + if (in_array($field['type'], $unsupportedTypes)) {
49 42 continue;
50 43 }
51 44
52 45 if ('group' === $field['type'] && isset($field['fields'])) {