Advanced Custom Fields: Restrict Color Picker Options

Restrict Advanced Custom Fields color picker to a specific subset of colors. Removes color wheel from the field UI so user can't pick other color …

v1.3.1Adam WalterUpdated Added 1k+ installs100% rating
90
Score
4
Errors
3
Warnings
+0
Change

Category Scores

Security84
Repo94
Performance100
Maintainability96

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

7 findings

Maintainability

3

2 issue groups

Security

2

1 issue group

Repo Compliance

1

1 issue group

I18n

1

1 issue group

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$output'.2
Category
Security
Occurrences
2
Severity
error

Sample message

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

WARNINGMaintainabilitytrademarked termThe plugin name includes a restricted term. Your chosen plugin name - "Advanced Custom Fields: Restrict Color Picker Options" - contains the restricted term "advanced-custom-fields" and cannot be used to begin your plugin name. We disallow the use of certain terms in ways that are abused, or potentially infringe on and/or are misleading with regards to trademarks. You may use the term "advanced-custom-fields" elsewhere in your plugin name, such as "... for advanced-custom-fields".2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "Advanced Custom Fields: Restrict Color Picker Options" - contains the restricted term "advanced-custom-fields" and cannot be used to begin your plugin name. We disallow the use of certain terms in ways that are abused, or potentially infringe on and/or are misleading with regards to trademarks. You may use the term "advanced-custom-fields" elsewhere in your plugin name, such as "... for advanced-custom-fields".

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: 5.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: 5.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.

WARNINGI18ntextdomain mismatchThe "Text Domain" header in the plugin file does not match the slug. Found "vitaldesign", expected "acf-restrict-color-picker".1
Category
I18n
Occurrences
1
Severity
warning

Sample message

The "Text Domain" header in the plugin file does not match the slug. Found "vitaldesign", expected "acf-restrict-color-picker".

External Connections

Not analyzed yet.

Score History

First score snapshot

v1.3.1

90

Latest

Findings
7
Errors
4
Warnings
3
Check
2.0.0

Relationship Map

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

24 nodes

Related Plugins