Cookie Dough Compliance and Consent for GDPR

Cookie Dough Compliance and Consent for GDPR is a GDPR cookie consent extension. Style your modal cookie.

v2.2.5Ludwig YouUpdated Added 500 installs100% rating
31
Score
539
Errors
452
Warnings
+0
Change

Category Scores

Security0
Repo91
Performance100
Maintainability39

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

991 findings

I18n

461

5 issue groups

Maintainability

414

7 issue groups

Security

114

5 issue groups

Repo Compliance

2

2 issue groups

ERRORI18nNon Singular String Literal DomainThe $domain parameter must be a single text string literal. Found: COOKIE_DOUGH_CONSENT_TEXT_DOMAIN387
Category
I18n
Occurrences
387
Severity
error

Sample message

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

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$add_script_id".362
Category
Maintainability
Occurrences
362
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$add_script_id".

WARNINGSecurityRequest data is not unslashed$_COOKIE['cdc-cookies'] not unslashed before sanitization. Use wp_unslash() or similar47
Category
Security
Occurrences
47
Severity
warning

Sample message

$_COOKIE['cdc-cookies'] not unslashed before sanitization. Use wp_unslash() or similar

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

Sample message

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

ERRORI18nMissing Arg DomainMissing $domain parameter in function call to esc_attr__().36
Category
I18n
Occurrences
36
Severity
error

Sample message

Missing $domain parameter in function call to esc_attr__().

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

Sample message

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

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'file_get_contents'.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 'file_get_contents'.

ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.20
Category
Security
Occurrences
20
Severity
error

Sample message

All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.

WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.19
Category
Security
Occurrences
19
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_COOKIE['cdc-cookies']8
Category
Security
Occurrences
8
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_COOKIE['cdc-cookies']

Show 9 more
WARNINGMaintainabilityNon-prefixed function7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "activate_cookie_dough_consent".

WARNINGMaintainabilityNo PHP code found4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.

WARNINGMaintainabilityNon-prefixed hook name2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "cdc-cookie-default-main-important-links".

ERRORMaintainabilityShort PHP open tag found1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Short PHP opening tag used with echo; expected "<?php echo empty ..." but found "<?= empty ..."

WARNINGI18nDiscouraged text-domain loading1
Category
I18n
Occurrences
1
Severity
warning

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.

ERRORMaintainabilityNon Enqueued Script1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Scripts must be registered/enqueued via wp_enqueue_script()

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

Sample message

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

WARNINGI18ntextdomain mismatch1
Category
I18n
Occurrences
1
Severity
warning

Sample message

The "Text Domain" header in the plugin file does not match the slug. Found "cookie-dough-consent", expected "cookie-dough-compliance-and-consent-for-gdpr".

External Connections

Potential connections found in static code analysis.

100 domains

Outbound calls

300

External assets

0

Incoming endpoints

0

Notable Domains

webdeclic.com36 · outbound
oracle.com4 · outbound
admo.tv3 · outbound
getquanty.com3 · outbound
livechatinc.com3 · outbound
support.google.com3 · outbound

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Score History

First score snapshot

v2.2.5

31

Latest

Findings
991
Errors
539
Warnings
452
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins

Disable Emojis (GDPR friendly)

60k+ active installs

100
EU Withdrawal Compliance

800 active installs

100
WF Cookie Consent

10k+ active installs

100
Machete

7k+ active installs

99