WP Required Taxonomies – Categories and Tags Mandatory

Force users to select a taxonomy term when publishing posts. For example, make category or tags required

v1.2.1Jose VegaUpdated Added 1k+ installs82% rating
42
Score
43
Errors
36
Warnings
+0
Change

Category Scores

Security0
Repo94
Performance100
Maintainability87

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

79 findings

Security

33

4 issue groups

Maintainability

32

4 issue groups

I18n

13

2 issue groups

Repo Compliance

1

1 issue group

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

Sample message

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

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

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

Sample message

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

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

Sample message

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

WARNINGSecurityRequest data is not unslashed$_REQUEST['_wpnonce'] not unslashed before sanitization. Use wp_unslash() or similar4
Category
Security
Occurrences
4
Severity
warning

Sample message

$_REQUEST['_wpnonce'] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_REQUEST['_wpnonce']2
Category
Security
Occurrences
2
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_REQUEST['_wpnonce']

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;

ERRORI18nMissing Translators CommentA function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.1
Category
I18n
Occurrences
1
Severity
error

Sample message

A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.

WARNINGMaintainabilitymismatched plugin namePlugin name "WP Required Taxonomies - Categories and Tags Mandatory" is different from the name declared in plugin header "Required taxonomies".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "WP Required Taxonomies - Categories and Tags Mandatory" is different from the name declared in plugin header "Required taxonomies".

ERRORRepo Complianceoutdated tested upto headerTested up to: 6.6 < 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.6 < 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.

Show 1 more
WARNINGMaintainabilitytrademarked term1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "WP Required Taxonomies - Categories and Tags Mandatory" - contains the restricted term "wp" which cannot be used at all in your plugin name.

External Connections

Not analyzed yet.

Score History

First score snapshot

v1.2.1

42

Latest

Findings
79
Errors
43
Warnings
36
Check
2.0.0

Relationship Map

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

29 nodes

Related Plugins

Essential Widgets

10k+ active installs

99
Auto Tag Creator

1k+ active installs

98
Category Checklist Tree

5k+ active installs

98
GUI for List Category Posts

600 active installs

98