Custom Category Templates

Define custom templates for category views.

v0.2.1shazdehUpdated Added 3k+ installs86% rating
54
Score
11
Errors
11
Warnings
+0
Change

Category Scores

Security24
Repo80
Performance100
Maintainability94

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

22 findings

Security

14

7 issue groups

Repo Compliance

4

4 issue groups

Maintainability

3

3 issue groups

I18n

1

1 issue group

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

Sample message

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

ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"' $selected>$template</option>"'.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 '"' $selected>$template</option>"'.

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

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_POST[&#039;custom-category-template&#039;]2
Category
Security
Occurrences
2
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST[&#039;custom-category-template&#039;]

WARNINGSecurityMissing Unslash$_POST[&#039;custom-category-template&#039;] not unslashed before sanitization. Use wp_unslash() or similar2
Category
Security
Occurrences
2
Severity
warning

Sample message

$_POST[&#039;custom-category-template&#039;] not unslashed before sanitization. Use wp_unslash() or similar

ERRORMaintainabilityFoundThe use of function _cleanup_header_comment() is forbidden1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

The use of function _cleanup_header_comment() is forbidden

WARNINGMaintainabilityMixedFile has mixed line endings; this may cause incorrect results1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

File has mixed line endings; this may cause incorrect results

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.

WARNINGSecurityRecommendedProcessing form data without nonce verification.1
Category
Security
Occurrences
1
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput Not ValidatedDetected usage of a possibly undefined superglobal array index: $_REQUEST[&#039;tag_ID&#039;]. Check that the array index exists before using it.1
Category
Security
Occurrences
1
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_REQUEST[&#039;tag_ID&#039;]. Check that the array index exists before using it.

Show 5 more
ERRORMaintainabilitymissing direct file access protection1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

ERRORRepo Complianceno license1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

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

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

Sample message

Tested up to: 4.4 < 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 Complianceplugin header nonexistent domain path1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

The "Domain Path" header in the plugin file must point to an existing folder. Found: "languages"

Score History

First score snapshot

v0.2.1

54

Latest

Findings
22
Errors
11
Warnings
11
Check
2.0.0

Related Plugins

Category Icon

2k+ active installs

100
Pages with category and tag

60k+ active installs

100
Solace Extra

10k+ active installs

99
Archive Title

1k+ active installs

98
Which Template

1k+ active installs

98
Add Category to Pages

20k+ active installs

97