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
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.
Potential connections found in static code analysis.
Outbound calls
281
External assets
10
Incoming endpoints
9
wp_ajax
admin_post
admin_post
admin_post
admin_post
admin_post
wp_ajax
wp_ajax
wp_ajax
2 score snapshots
v3.7.3
70
Latest
v3.7.2
69
Score
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 70 | 199 | 60 | 139 | v3.7.3 | 2.1.0 |
| 69 | 200 | 61 | 139 | v3.7.2 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.