PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.2
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.2
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
← All changes | classes/models/fields/FrmFieldSelect.php +2 -8 6.286.2 View file →
@@ -9,9 +9,8 @@
9 9 class FrmFieldSelect extends FrmFieldType {
10 10
11 11 /**
12 12 * @var string
13 - *
14 13 * @since 3.0
15 14 */
16 15 protected $type = 'select';
17 16
@@ -16,9 +15,8 @@
16 15 protected $type = 'select';
17 16
18 17 /**
19 18 * @var bool
20 - *
21 19 * @since 3.0
22 20 */
23 21 protected $holds_email_values = true;
24 22
@@ -32,9 +30,8 @@
32 30 protected function field_settings_for_type() {
33 31 return array(
34 32 'clear_on_focus' => true,
35 33 'size' => true,
36 - 'invalid' => true,
37 34 );
38 35 }
39 36
40 37 /**
@@ -54,11 +51,8 @@
54 51 /**
55 52 * Get the type of field being displayed.
56 53 *
57 54 * @since 4.02.01
58 - *
59 - * @param array|object $field
60 - *
61 55 * @return array
62 56 */
63 57 public function displayed_field_type( $field ) {
64 58 return array(
@@ -68,9 +62,9 @@
68 62
69 63 /**
70 64 * @since 4.0
71 65 *
72 - * @param array $args Includes 'field', 'display', and 'values'.
66 + * @param array $args - Includes 'field', 'display', and 'values'
73 67 *
74 68 * @return void
75 69 */
76 70 public function show_extra_field_choices( $args ) {
@@ -92,9 +86,9 @@
92 86 }
93 87
94 88 protected function prepare_import_value( $value, $atts ) {
95 89 if ( FrmField::is_option_true( $this->field, 'multiple' ) ) {
96 - return $this->get_multi_opts_for_import( $value );
90 + $value = $this->get_multi_opts_for_import( $value );
97 91 }
98 92
99 93 return $value;
100 94 }