Filter messages submitted through contact form 7 based on words and/or emails listed as restricted.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Maintainability
1,561
11 issue groups
Security
812
10 issue groups
I18n
268
4 issue groups
WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$account_addon_ids".1,218
- Category
- Maintainability
- Occurrences
- 1,218
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$account_addon_ids".
ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" <a href='{$skip_url}' class='button button-small button-secondary'>{$use_plugin_anonymously_text}</a>"'.609
- Category
- Security
- Occurrences
- 609
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" <a href='{$skip_url}' class='button button-small button-secondary'>{$use_plugin_anonymously_text}</a>"'.
ERRORI18nNon Singular String Literal DomainThe $domain parameter must be a single text string literal. Found: KMCFMF_TEXT_DOMAIN254
- Category
- I18n
- Occurrences
- 254
- Severity
- error
Sample message
The $domain parameter must be a single text string literal. Found: KMCFMF_TEXT_DOMAIN
ERRORSecurityUnsafe Printing FunctionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.105
- Category
- Security
- Occurrences
- 105
- Severity
- error
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
WARNINGMaintainabilityNon Prefixed Function FoundFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "_fs_text".103
- Category
- Maintainability
- Occurrences
- 103
- Severity
- warning
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "_fs_text".
WARNINGMaintainabilityNon Prefixed Class FoundClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "FS_Admin_Menu_Manager".70
- Category
- Maintainability
- Occurrences
- 70
- Severity
- warning
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "FS_Admin_Menu_Manager".
ERRORMaintainabilitymissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;41
- Category
- Maintainability
- Occurrences
- 41
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
WARNINGSecurityMissingProcessing form data without nonce verification.36
- Category
- Security
- Occurrences
- 36
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGMaintainabilityNon Prefixed Namespace FoundNamespaces declared by a theme/plugin should start with the theme/plugin prefix. Found: "km_message_filter".34
- Category
- Maintainability
- Occurrences
- 34
- Severity
- warning
Sample message
Namespaces declared by a theme/plugin should start with the theme/plugin prefix. Found: "km_message_filter".
WARNINGMaintainabilityNon Prefixed Constant FoundGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "FS_API__ADDRESS".27
- Category
- Maintainability
- Occurrences
- 27
- Severity
- warning
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "FS_API__ADDRESS".
Show 15 moreShow less
WARNINGMaintainabilityDirect Query20
- Category
- Maintainability
- Occurrences
- 20
- Severity
- warning
Sample message
Use of a direct database call is discouraged.
WARNINGMaintainabilityNo Caching18
- Category
- Maintainability
- Occurrences
- 18
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
WARNINGSecurityRecommended18
- Category
- Security
- Occurrences
- 18
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGMaintainabilityNon Prefixed Hookname Found14
- Category
- Maintainability
- Occurrences
- 14
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'km_setting_' . $id".
ERRORSecurityException Not Escaped12
- Category
- Security
- Occurrences
- 12
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$message'.
WARNINGSecurityInput Not Sanitized11
- Category
- Security
- Occurrences
- 11
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_POST[$name]
WARNINGMaintainabilitySchema Change9
- Category
- Maintainability
- Occurrences
- 9
- Severity
- warning
Sample message
Attempting a database schema change is discouraged.
ERRORMaintainabilityOffloaded Content7
- Category
- Maintainability
- Occurrences
- 7
- Severity
- error
Sample message
Offloading images, js, css, and other scripts to your servers or any remote service is disallowed.
WARNINGSecurityUnquoted Complex Placeholder7
- Category
- Security
- Occurrences
- 7
- Severity
- warning
Sample message
Complex placeholders used for values in the query string in $wpdb->prepare() will NOT be quoted automagically. Found: %1s.
WARNINGSecurityMissing Unslash6
- Category
- Security
- Occurrences
- 6
- Severity
- warning
Sample message
$_POST['wpforms']['id'] not unslashed before sanitization. Use wp_unslash() or similar
ERRORSecurityUnescaped DBParameter5
- Category
- Security
- Occurrences
- 5
- Severity
- error
Sample message
Unescaped parameter $additions used in $wpdb->query()\n$additions assigned unsafely at line 261.
ERRORI18nMissing Arg Domain5
- Category
- I18n
- Occurrences
- 5
- Severity
- error
Sample message
Missing $domain parameter in function call to esc_html_e().
ERRORI18nNon Singular String Literal Text5
- Category
- I18n
- Occurrences
- 5
- Severity
- error
Sample message
The $text parameter must be a single text string literal. Found: $my_filter->id
ERRORI18nText Domain Mismatch4
- Category
- I18n
- Occurrences
- 4
- Severity
- error
Sample message
Mismatched text domain. Expected 'cf7-message-filter' but got 'contact-form-7'.
WARNINGSecurityInterpolated Not Prepared3
- Category
- Security
- Occurrences
- 3
- Severity
- warning
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable $additions at "CREATE TABLE IF NOT EXISTS `%1s` ( $additions )"
Score History
First score snapshot
v1.6.3.8
22
Latest
- Findings
- 2,683
- Errors
- 1,072
- Warnings
- 1,611
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 22 | 2,683 | 1,072 | 1,611 | v1.6.3.8 | 2.0.0 |