WP Comment Policy Checkbox

Add a checkbox and custom text to the comment forms so that the user can be informed and give consent to the web's privacy policy.

v0.4.1fcojgodoyUpdated Added 5k+ installs100% rating
45
Score
31
Errors
11
Warnings
+0
Change

Category Scores

Security9
Repo86
Performance100
Maintainability87

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

42 findings

Security

24

5 issue groups

Maintainability

11

5 issue groups

I18n

4

2 issue groups

Repo Compliance

3

3 issue groups

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

Sample message

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

ERRORSecurityregister setting MissingSanitization missing for register_setting().7
Category
Security
Occurrences
7
Severity
error

Sample message

Sanitization missing for register_setting().

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

Sample message

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

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

Sample message

Processing form data without nonce verification.

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

Sample message

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

WARNINGMaintainabilitytrademarked termThe plugin name includes a restricted term. Your chosen plugin name - "WP Comment Policy Checkbox" - 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 Comment Policy Checkbox" - contains the restricted term "wp" which cannot be used at all in your plugin name.

ERRORMaintainabilitywp function not compatible with requires wpFunction "wp_editor()" requires WordPress 3.3.0, but your plugin minimum supported version is WordPress 3.0.2.2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Function "wp_editor()" requires WordPress 3.3.0, but your plugin minimum supported version is WordPress 3.0.2.

WARNINGI18nload plugin textdomain Foundload_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.1
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.

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

Sample message

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

WARNINGSecurityMissing Unslash$_POST['email'] not unslashed before sanitization. Use wp_unslash() or similar1
Category
Security
Occurrences
1
Severity
warning

Sample message

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

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

Sample message

Tested up to: 6.5 < 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 invalid author uri1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

The "Author URI" header in the plugin file is not valid.

WARNINGRepo Compliancereadme parser warnings trimmed short description1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

The "Short Description" section is too long and was truncated. A maximum of 150 characters is supported.

ERRORMaintainabilitytrunk stable tag1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Incorrect Stable Tag. It's recommended not to use "Stable Tag: trunk". Your Stable Tag is meant to be the stable version of your plugin and it needs to be exactly the same with the Version in your main plugin file's header. Any mismatch can prevent users from downloading the correct plugin files from WordPress.org.

WARNINGMaintainabilityunexpected markdown file1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Unexpected markdown file "DEVELOPMENT.md" detected in plugin root. Only specific markdown files are expected in production plugins.

Score History

First score snapshot

v0.4.1

45

Latest

Findings
42
Errors
31
Warnings
11
Check
2.0.0

Related Plugins

Disable Emojis (GDPR friendly)

60k+ active installs

100
Simply Disable Comments

6k+ active installs

100
Block List Updater

4k+ active installs

99
One Click Close Comments

4k+ active installs

99
consentmanager Cookie Banner

5k+ active installs

98