PluginProbe
UsersWP – Front-end login form, User Registration, User Profile & Members Directory plugin for WP / 1.2.48
UsersWP – Front-end login form, User Registration, User Profile & Members Directory plugin for WP v1.2.48
1.2.73 1.2.72 1.2.71 1.2.70 1.2.69 1.2.68 1.2.67 1.2.66 1.2.65 1.2.64 1.2.63 trunk 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.16 1.0.17 1.0.18 1.0.19 1.0.20 1.0.21 1.0.22 All 173 releases
← All changes | includes/helpers/forms.php +2 -3 trunk1.2.48 View file →
@@ -136,9 +136,8 @@
136 136 *
137 137 * @param array $data Submitted form data
138 138 * @param string $type Form type.
139 139 * @param array|bool $fields Fields applicable for validation.
140 - * @param string $extra_where Extra where query.
141 140 *
142 141 * @return array|mixed|WP_Error Validated form data.
143 142 * @since 1.0.0
144 143 * @package userswp
@@ -143,12 +142,12 @@
143 142 * @since 1.0.0
144 143 * @package userswp
145 144 *
146 145 */
147 -function uwp_validate_fields( $data, $type, $fields = false, $extra_where = '' ) {
146 +function uwp_validate_fields( $data, $type, $fields = false ) {
148 147 $validation = new UsersWP_Validation();
149 148
150 - return $validation->validate_fields( $data, $type, $fields, $extra_where );
149 + return $validation->validate_fields( $data, $type, $fields );
151 150 }
152 151
153 152 /**
154 153 * Returns form field label. If empty returns the field title.