PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.8
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.8
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/FrmFieldUserID.php +7 -7 6.36.8 View file →
@@ -68,15 +68,15 @@
68 68 if ( '' == $args['value'] ) {
69 69 return array();
70 70 }
71 71
72 - // make sure we have a user ID
72 + // Make sure we have a user ID.
73 73 if ( ! is_numeric( $args['value'] ) ) {
74 74 $args['value'] = FrmAppHelper::get_user_id_param( $args['value'] );
75 75 FrmEntriesHelper::set_posted_value( $this->field, $args['value'], $args );
76 76 }
77 77
78 - //add user id to post variables to be saved with entry
78 + // Add user id to post variables to be saved with entry.
79 79 $_POST['frm_user_id'] = $args['value'];
80 80
81 81 return array();
82 82 }
@@ -81,10 +81,10 @@
81 81 return array();
82 82 }
83 83
84 84 /**
85 - * @param $value
86 - * @param $atts array
85 + * @param string $value
86 + * @param array $atts
87 87 *
88 88 * @return false|mixed|string
89 89 */
90 90 protected function prepare_display_value( $value, $atts ) {
@@ -99,9 +99,9 @@
99 99 * From the get_display_name() function
100 100 *
101 101 * @since 3.0
102 102 *
103 - * @param $atts
103 + * @param array $atts
104 104 *
105 105 * @return string
106 106 */
107 107 private function prepare_user_info_attribute( $atts ) {
@@ -118,10 +118,10 @@
118 118 return $user_info;
119 119 }
120 120
121 121 /**
122 - * @param $value
123 - * @param $atts
122 + * @param string $value
123 + * @param array $atts
124 124 *
125 125 * @return int
126 126 */
127 127 protected function prepare_import_value( $value, $atts ) {