@@ -44,6 +44,9 @@ discard block |
||
| 44 | 44 | } |
| 45 | 45 | } |
| 46 | 46 | |
| 47 | + /** |
|
| 48 | + * @param boolean $exclude |
|
| 49 | + */ |
|
| 47 | 50 | private static function get_fields_to_validate( $values, $exclude ) { |
| 48 | 51 | $where = apply_filters( 'frm_posted_field_ids', array( 'fi.form_id' => $values['form_id'] ) ); |
| 49 | 52 | |
@@ -293,6 +296,9 @@ discard block |
||
| 293 | 296 | * For WP 5.5 compatibility. |
| 294 | 297 | * |
| 295 | 298 | * @since 4.06.02 |
| 299 | + * @param string $content |
|
| 300 | + * @param string $ip |
|
| 301 | + * @param string $user_agent |
|
| 296 | 302 | */ |
| 297 | 303 | private static function check_disallowed_words( $author, $email, $url, $content, $ip, $user_agent ) { |
| 298 | 304 | if ( function_exists( 'wp_check_comment_disallowed_list' ) ) { |
@@ -306,6 +312,7 @@ discard block |
||
| 306 | 312 | * For WP 5.5 compatibility. |
| 307 | 313 | * |
| 308 | 314 | * @since 4.06.02 |
| 315 | + * @return string |
|
| 309 | 316 | */ |
| 310 | 317 | private static function get_disallowed_words() { |
| 311 | 318 | $keys = get_option( 'disallowed_keys' ); |