A plugin to check the age of a visitor before view site or specified content
Prioritized issue groups from the latest Plugin Check scan
Maintainability
189
7 issue groups
Security
9
5 issue groups
I18n
1
1 issue group
Repo Compliance
1
1 issue group
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'age_gate/error/' . $key".
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$autoload".
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "age_gate_activate".
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "AGE_GATE_PATH".
Sample message
Processing form data without nonce verification.
Sample message
Detected usage of a non-sanitized input variable: $_POST['ag_settings']
Sample message
Detected usage of a possibly undefined superglobal array index: $_POST['ag_settings']. Check that the array index exists before using it.
Sample message
$_POST['ag_settings'] not unslashed before sanitization. Use wp_unslash() or similar
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.
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "Age_Gate_Validation".
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.
Sample message
The "/vendor" directory using composer exists, but "composer.json" file is missing.
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.
Not analyzed yet.
First score snapshot
v3.7.2
69
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 69 | 200 | 61 | 139 | v3.7.2 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.