PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / trunk
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More vtrunk
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 +6 -1 6.25 → trunk View file →
@@ -9,8 +9,9 @@
9 9 class FrmFieldSelect extends FrmFieldType {
10 10
11 11 /**
12 12 * @var string
13 + *
13 14 * @since 3.0
14 15 */
15 16 protected $type = 'select';
16 17
@@ -15,8 +16,9 @@
15 16 protected $type = 'select';
16 17
17 18 /**
18 19 * @var bool
20 + *
19 21 * @since 3.0
20 22 */
21 23 protected $holds_email_values = true;
22 24
@@ -52,8 +54,11 @@
52 54 /**
53 55 * Get the type of field being displayed.
54 56 *
55 57 * @since 4.02.01
58 + *
59 + * @param array|object $field
60 + *
56 61 * @return array
57 62 */
58 63 public function displayed_field_type( $field ) {
59 64 return array(
@@ -87,9 +92,9 @@
87 92 }
88 93
89 94 protected function prepare_import_value( $value, $atts ) {
90 95 if ( FrmField::is_option_true( $this->field, 'multiple' ) ) {
91 - $value = $this->get_multi_opts_for_import( $value );
96 + return $this->get_multi_opts_for_import( $value );
92 97 }
93 98
94 99 return $value;
95 100 }