FV Antispam is a powerful and simple antispam plugin. It moves any spambot comments directly to trash and allows Akismet to just deal with human spam.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
316
11 issue groups
I18n
160
4 issue groups
Maintainability
79
10 issue groups
ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<td><strong>$label:</strong></td>"'.73
- Category
- Security
- Occurrences
- 73
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<td><strong>$label:</strong></td>"'.
WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.63
- Category
- Security
- Occurrences
- 63
- Severity
- warning
Sample message
Processing form data without nonce verification.
ERRORI18nMissing Arg DomainMissing $domain parameter in function call to __().61
- Category
- I18n
- Occurrences
- 61
- Severity
- error
Sample message
Missing $domain parameter in function call to __().
ERRORI18nText Domain MismatchMismatched text domain. Expected 'fv-antispam' but got 'antispam_bee'.50
- Category
- I18n
- Occurrences
- 50
- Severity
- error
Sample message
Mismatched text domain. Expected 'fv-antispam' but got 'antispam_bee'.
ERRORI18nMissing Translators CommentA function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.44
- Category
- I18n
- Occurrences
- 44
- Severity
- error
Sample message
A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.42
- Category
- Security
- Occurrences
- 42
- Severity
- error
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
WARNINGSecurityRequest data is not unslashed$_GET['ip'] not unslashed before sanitization. Use wp_unslash() or similar40
- Category
- Security
- Occurrences
- 40
- Severity
- warning
Sample message
$_GET['ip'] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET['ip']39
- Category
- Security
- Occurrences
- 39
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_GET['ip']
WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_POST[$protect]. Check that the array index exists before using it.28
- Category
- Security
- Occurrences
- 28
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_POST[$protect]. Check that the array index exists before using it.
WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.20
- Category
- Maintainability
- Occurrences
- 20
- Severity
- warning
Sample message
Use of a direct database call is discouraged.
Show 15 moreShow less
WARNINGMaintainabilityNo Caching20
- Category
- Maintainability
- Occurrences
- 20
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
WARNINGSecurityNonce verification recommended13
- Category
- Security
- Occurrences
- 13
- Severity
- warning
Sample message
Processing form data without nonce verification.
ERRORMaintainabilitycurl curl setopt12
- Category
- Maintainability
- Occurrences
- 12
- Severity
- error
Sample message
Using cURL functions is highly discouraged. Use wp_remote_get() instead.
WARNINGSecurityInterpolated SQL is not prepared9
- Category
- Security
- Occurrences
- 9
- Severity
- warning
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable $comment->comment_post_ID at "SELECT * FROM $wpdb->posts WHERE ID='$comment->comment_post_ID' LIMIT 1"
ERRORMaintainabilitydate date8
- Category
- Maintainability
- Occurrences
- 8
- Severity
- error
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
ERRORMaintainabilityMissing direct file access protection8
- Category
- Maintainability
- Occurrences
- 8
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
ERRORSecurityDatabase parameter is not escaped5
- Category
- Security
- Occurrences
- 5
- Severity
- error
Sample message
Unescaped parameter $comment->comment_post_ID used in $wpdb->get_row()\n$comment->comment_post_ID used without escaping.
ERRORI18nNon Singular String Literal Text5
- Category
- I18n
- Occurrences
- 5
- Severity
- error
Sample message
The $text parameter must be a single text string literal. Found: $sQuestion
WARNINGSecurityDatabase parameter is not escaped3
- Category
- Security
- Occurrences
- 3
- Severity
- warning
Sample message
Unescaped parameter $sTableName used in $wpdb->get_var()\n$sTableName assigned unsafely at line 71.
WARNINGMaintainabilityerror log var export3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
var_export() found. Debug code should not normally be used in production.
ERRORMaintainabilityrand rand3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- error
Sample message
rand() is discouraged. Use the far less predictable wp_rand() instead.
ERRORMaintainabilityPlugin Directory Write2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- error
Sample message
Plugin folders are deleted when upgraded. Do not save data to the plugin folder using file_put_contents(). Detected usage of __FILE__ or __DIR__ magic constant. Use wp_upload_dir() to get the uploads directory path or save to the database instead.
ERRORMaintainabilityfile system operations fclose2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- error
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().
WARNINGSecuritywp redirect wp redirect1
- Category
- Security
- Occurrences
- 1
- Severity
- warning
Sample message
wp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.
ERRORMaintainabilitycurl curl close1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
Using cURL functions is highly discouraged. Use wp_remote_get() instead.
External Connections
Potential connections found in static code analysis.
Outbound calls
11
External assets
0
Incoming endpoints
2
Notable Domains
Platform / Reference Domains
External Asset Domains
No external asset domains detected.
Incoming Endpoints
No public endpoints detected.
Admin AJAX endpoints1
wp_ajax
Score History
First score snapshot
v2.8
26
Latest
- Findings
- 571
- Errors
- 332
- Warnings
- 239
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 26 | 571 | 332 | 239 | v2.8 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.