Cookie Law Bar

Cookie Law Bar show bottom or top bar to inform users that your website uses cookie according to EU law.

v1.2.1richpluginsUpdated Added 2k+ installs90% rating
45
Score
29
Errors
20
Warnings
+0
Change

Category Scores

Security8
Repo80
Performance100
Maintainability91

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

49 findings

Security

38

4 issue groups

Maintainability

5

4 issue groups

Repo Compliance

4

4 issue groups

I18n

2

2 issue groups

ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$bar_style'.20
Category
Security
Occurrences
20
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$bar_style'.

WARNINGSecurityMissingProcessing form data without nonce verification.11
Category
Security
Occurrences
11
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityMissing Unslash$_POST[$key['key_name']] not unslashed before sanitization. Use wp_unslash() or similar4
Category
Security
Occurrences
4
Severity
warning

Sample message

$_POST[$key['key_name']] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_POST[$key['key_name']]3
Category
Security
Occurrences
3
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST[$key['key_name']]

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

Sample message

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

WARNINGMaintainabilityMissing VersionResource version not set in call to wp_register_style(). This means new versions of the style may not always be loaded due to browser caching.1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Resource version not set in call to wp_register_style(). This means new versions of the style may not always be loaded due to browser caching.

ERRORMaintainabilityNo Explicit VersionVersion parameter is not explicitly set or has been set to an equivalent of "false" for wp_register_script; This means that the WordPress core version will be used which is not recommended for plugin or theme development.1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Version parameter is not explicitly set or has been set to an equivalent of "false" for wp_register_script; This means that the WordPress core version will be used which is not recommended for plugin or theme development.

ERRORI18nNon Singular String Literal TextThe $text parameter must be a single text string literal. Found: $text1
Category
I18n
Occurrences
1
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: $text

ERRORI18nText Domain MismatchMismatched text domain. Expected 'cookie-law-bar' but got 'clb'.1
Category
I18n
Occurrences
1
Severity
error

Sample message

Mismatched text domain. Expected 'cookie-law-bar' but got 'clb'.

ERRORRepo Complianceno licenseMissing "License". Please update your readme with a valid GPLv2 (or later) compatible license.1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Missing "License". Please update your readme with a valid GPLv2 (or later) compatible license.

Show 4 more
ERRORRepo Complianceoutdated tested upto header1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Tested up to: 4.7 < 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.

ERRORRepo Complianceplugin header no license1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.

WARNINGRepo Compliancereadme parser warnings too many tags1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

One or more tags were ignored. Please limit your plugin to 5 tags.

ERRORMaintainabilitywp function not compatible with requires wp1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Function "sanitize_text_field()" requires WordPress 2.9.0, but your plugin minimum supported version is WordPress 2.8.0.

Score History

First score snapshot

v1.2.1

45

Latest

Findings
49
Errors
29
Warnings
20
Check
2.0.0

Related Plugins

Remember Me Controls

4k+ active installs

98
Simple Cookie Notice

2k+ active installs

98
Flexible Cookies

3k+ active installs

97
LegalBlink for Aruba

6k+ active installs

91
WP Consent API

200k+ active installs

86