Spam Protect for Contact Form 7

Spam Protect for Contact-Form7 protects from spam and bots. Customize defense strategies and monitor blocked attempts. Protect your time effectively!

v1.2.10NYSLUpdated Added 10k+ installs82% rating
41
Score
16
Errors
61
Warnings
+0
Change

Category Scores

Security0
Repo89
Performance100
Maintainability87

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

77 findings

Security

63

7 issue groups

Maintainability

7

5 issue groups

I18n

5

3 issue groups

Repo Compliance

2

2 issue groups

WARNINGSecurityMissing Unslash$_GET['post'] not unslashed before sanitization. Use wp_unslash() or similar19
Category
Security
Occurrences
19
Severity
warning

Sample message

$_GET['post'] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGSecurityInput Not ValidatedDetected usage of a possibly undefined superglobal array index: $_GET['post']. Check that the array index exists before using it.17
Category
Security
Occurrences
17
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_GET['post']. Check that the array index exists before using it.

WARNINGSecurityMissingProcessing form data without nonce verification.15
Category
Security
Occurrences
15
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_POST[$name]6
Category
Security
Occurrences
6
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST[$name]

ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$log_file_size_str'.3
Category
Security
Occurrences
3
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$log_file_size_str'.

ERRORI18nText Domain MismatchMismatched text domain. Expected 'wp-contact-form-7-spam-blocker' but got "contact-form-7-spam-blocker".3
Category
I18n
Occurrences
3
Severity
error

Sample message

Mismatched text domain. Expected 'wp-contact-form-7-spam-blocker' but got "contact-form-7-spam-blocker".

ERRORSecurityUnsafe Printing FunctionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.2
Category
Security
Occurrences
2
Severity
error

Sample message

All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.

ERRORMaintainabilityfile system operations fcloseFile operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().

ERRORMaintainabilityfile system operations fopenFile operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen().2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen().

WARNINGI18nload plugin textdomain Foundload_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.1
Category
I18n
Occurrences
1
Severity
warning

Sample message

load_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.

Show 7 more
ERRORMaintainabilitydate date1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.

WARNINGSecurityRecommended1
Category
Security
Occurrences
1
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORMaintainabilityfile system operations fwrite1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fwrite().

ERRORRepo Complianceoutdated tested upto header1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Tested up to: 6.8 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.

ERRORRepo Compliancereadme invalid donate link1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

The "Donate link" header in the readme file must be a valid URL.

WARNINGI18ntextdomain mismatch1
Category
I18n
Occurrences
1
Severity
warning

Sample message

The "Text Domain" header in the plugin file does not match the slug. Found "spam-protect-for-contact-form7", expected "wp-contact-form-7-spam-blocker".

WARNINGMaintainabilitytrademarked term1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The plugin slug includes a restricted term. Your plugin slug - "wp-contact-form-7-spam-blocker" - contains the restricted term "wp" which cannot be used at all in your plugin slug.

Score History

First score snapshot

v1.2.10

41

Latest

Findings
77
Errors
16
Warnings
61
Check
2.0.0