Gate files behind your Contact Form 7 forms.
Prioritized issue groups from the latest Plugin Check scan
Security
67
6 issue groups
Maintainability
58
10 issue groups
I18n
30
2 issue groups
Repo Compliance
3
3 issue groups
Sample message
Short PHP opening tag used with echo; expected "<?php echo $attachment_meta ..." but found "<?= $attachment_meta ..."
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$attachment_meta["filename"]'.
Sample message
Mismatched text domain. Expected 'cf7-gated-content' but got "apsis_wp".
Sample message
$_POST['always_require_form'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Detected usage of a non-sanitized input variable: $_POST['always_require_form']
Sample message
Detected usage of a possibly undefined superglobal array index: $_POST['contactFormId']. Check that the array index exists before using it.
Sample message
Resource version not set in call to wp_enqueue_script(). This means new versions of the script may not always be loaded due to browser caching.
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
Sample message
In footer ($in_footer) is not set explicitly wp_enqueue_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.
Sample message
The plugin name includes a restricted term. Your chosen plugin name - "Contact Form 7 Gated Content" - contains the restricted term "contact-form-7" and cannot be used to begin your plugin name. We disallow the use of certain terms in ways that are abused, or potentially infringe on and/or are misleading with regards to trademarks. You may use the term "contact-form-7" elsewhere in your plugin name, such as "... for contact-form-7".
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "wpcf7_gated_content_button".
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$hidden".
Sample message
Processing form data without nonce verification.
Sample message
parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.
Sample message
Missing $domain parameter in function call to __().
Sample message
Application files are not permitted.
Sample message
Your plugin has a different license declared in the readme file and plugin header. Please update your readme with a valid GPL license identifier.
Sample message
Tested up to: 6.7 < 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.
Sample message
One or more tags were ignored. Please limit your plugin to 5 tags.
Sample message
Function "wp_admin_notice()" requires WordPress 6.4.0, but your plugin minimum supported version is WordPress 4.5.0.
Potential connections found in static code analysis.
Outbound calls
2
External assets
0
Incoming endpoints
2
No external asset domains detected.
wp_ajax
wp_ajax
First score snapshot
v1.5.0
36
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 36 | 158 | 122 | 36 | v1.5.0 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.