WP Consent API

Simple Consent API to read and register the current consent category.

v2.0.1Rogier LankhorstUpdated Added 200k+ installs100% rating100% support resolved
86
Score
2
Errors
10
Warnings
+0
Change

Category Scores

Security79
Repo91
Performance100
Maintainability96

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

12 findings

Security

6

2 issue groups

Maintainability

4

2 issue groups

Repo Compliance

2

2 issue groups

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_COOKIE[$cookie_name]3
Category
Security
Occurrences
3
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_COOKIE[$cookie_name]

WARNINGSecurityRequest data is not unslashed$_COOKIE[$cookie_name] not unslashed before sanitization. Use wp_unslash() or similar3
Category
Security
Occurrences
3
Severity
warning

Sample message

$_COOKIE[$cookie_name] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGMaintainabilitytrademarked termThe 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
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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.

ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;

ERRORRepo Complianceoutdated tested upto headerTested 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
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

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.

WARNINGRepo Compliancereadme reserved contributorsThe "Contributors" header in the readme file contains reserved username(s). Found: "wordpressdotorg"1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

The "Contributors" header in the readme file contains reserved username(s). Found: "wordpressdotorg"

External Connections

Not analyzed yet.

Score History

First score snapshot

v2.0.1

86

Latest

Findings
12
Errors
2
Warnings
10
Check
2.0.0

Relationship Map

Author, categories, issues, domains, and nearby plugins.

27 nodes

Related Plugins

EU Withdrawal Compliance

800 active installs

100
WF Cookie Consent

10k+ active installs

100
Machete

7k+ active installs

99
99