Asks users' consent for using cookies or redirects them out of your site.
Prioritized issue groups from the latest Plugin Check scan
Maintainability
14
6 issue groups
Security
11
5 issue groups
I18n
2
1 issue group
Repo Compliance
2
2 issue groups
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "get_cookie_defaults".
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<input type='text' id='notok_text_field' name='cookiewarn_options[notok_text]' value='{$options['notok_text']}' />"'.
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
Missing $domain parameter in function call to __().
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
Use of heredoc syntax (<<<) is not allowed; use standard strings or inline HTML instead
Sample message
Processing form data without nonce verification.
Sample message
Detected usage of a non-sanitized input variable: $_REQUEST['cookie']
Sample message
Detected usage of a possibly undefined superglobal array index: $_REQUEST['cookie']. Check that the array index exists before using it.
Sample message
$_REQUEST['cookie'] not unslashed before sanitization. Use wp_unslash() or similar
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
Plugin name "Cookie Warning" is different from the name declared in plugin header "Cookie warning".
Sample message
Missing "License". Please update your readme with a valid GPLv2 (or later) compatible license.
Sample message
Tested up to: 3.6 < 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.
Potential connections found in static code analysis.
Outbound calls
4
External assets
0
Incoming endpoints
2
No external asset domains detected.
wp_ajax
wp_ajax
First score snapshot
v1.3
66
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 66 | 29 | 14 | 15 | v1.3 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.