PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.22
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.22
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/FrmFieldValue.php +6 -5 6.56.22 View file →
@@ -10,11 +10,11 @@
10 10
11 11 /**
12 12 * @since 2.04
13 13 *
14 - * @var stdClass
14 + * @var stdClass|null
15 15 */
16 - protected $field = null;
16 + protected $field;
17 17
18 18 /**
19 19 * @since 4.03
20 20 *
@@ -55,9 +55,9 @@
55 55 }
56 56
57 57 $this->entry = $entry;
58 58 $this->entry_id = $entry->id;
59 - $field = apply_filters( 'frm_field_value_object', $field );
59 + $field = apply_filters( 'frm_field_value_object', $field );
60 60 $this->field = $field;
61 61 $this->init_saved_value( $entry );
62 62 }
63 63
@@ -102,9 +102,10 @@
102 102 * @return void
103 103 */
104 104 public function prepare_displayed_value( $atts = array() ) {
105 105 $this->displayed_value = $this->saved_value;
106 - unset( $atts['class'] ); // This class shouldn't affect values.
106 + // This class shouldn't affect values.
107 + unset( $atts['class'] );
107 108 $this->generate_displayed_value_for_field_type( $atts );
108 109 $this->filter_displayed_value( $atts );
109 110 }
110 111
@@ -250,9 +251,9 @@
250 251 'field' => $this->field,
251 252 )
252 253 );
253 254 }
254 - }
255 + }//end if
255 256
256 257 // frm_display_{fieldtype}_value_custom hook
257 258 $this->displayed_value = apply_filters(
258 259 'frm_display_' . $this->field->type . '_value_custom',