Simple Consent API to read and register the current consent category.
Category Scores
Top Issues by Category
security6
maintainability4
Issues Details
12 issues found in latest scan
Detected usage of a non-sanitized input variable: $_COOKIE[$cookie_name]
$_COOKIE[$cookie_name] not unslashed before sanitization. Use wp_unslash() or similar
The plugin name includes a restricted term. Your chosen plugin name - "WP Consent API" - contains the restricted term "wp" which cannot be used at all in your plugin name.
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Tested up to: 6.9 < 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.
The "Contributors" header in the readme file contains reserved username(s). Found: "wordpressdotorg"
| Code | Type | Message | Count |
|---|---|---|---|
| WordPress.Security.ValidatedSanitizedInput.InputNotSanitized | WARNING | Detected usage of a non-sanitized input variable: $_COOKIE[$cookie_name] | 3 |
| WordPress.Security.ValidatedSanitizedInput.MissingUnslash | WARNING | $_COOKIE[$cookie_name] not unslashed before sanitization. Use wp_unslash() or similar | 3 |
| trademarked_term | WARNING | The plugin name includes a restricted term. Your chosen plugin name - "WP Consent API" - contains the restricted term "wp" which cannot be used at all in your plugin name. | 3 |
| missing_direct_file_access_protection | ERROR | PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit; | 1 |
| outdated_tested_upto_header | ERROR | Tested up to: 6.9 < 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. | 1 |
| readme_reserved_contributors | WARNING | The "Contributors" header in the readme file contains reserved username(s). Found: "wordpressdotorg" | 1 |
Latest Snapshot
Findings
12
Errors
2
Warnings
10
Score History
First score snapshot
First scan completed
v2.0.1 · Plugin Check 2.0.0 · Model 2026.06-mvp-static-v2
v2.0.1
86
Latest
- Findings
- 12
- Errors
- 2
- Warnings
- 10
- Plugin Check
- 2.0.0
- Model
- 2026.06-mvp-static-v2
| Scan | Score | Findings | Errors | Warnings | Plugin | Plugin Check | Model |
|---|---|---|---|---|---|---|---|
| Latest | 86 | 12 | 2 | 10 | v2.0.1 | 2.0.0 | 2026.06-mvp-static-v2 |