Category Posts in Custom Menu

Dynamic menus: List all posts from a category in your menu. Also works for tags, custom taxonomies as well as pages and custom post types.

v3.0.6Diana van de LaarschotUpdated Added 2k+ installs96% rating
49
Score
19
Errors
18
Warnings
+0
Change

Category Scores

Security12
Repo94
Performance100
Maintainability90

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

37 findings

Security

27

5 issue groups

Maintainability

8

5 issue groups

I18n

1

1 issue group

Repo Compliance

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 '$item_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 '$item_id'.

WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.8
Category
Security
Occurrences
8
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_POST['menu-item-cpcm-item-count'][$menu_item_db_id]3
Category
Security
Occurrences
3
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST['menu-item-cpcm-item-count'][$menu_item_db_id]

WARNINGSecurityRequest data is not unslashed$_POST['menu-item-cpcm-item-count'][$menu_item_db_id] not unslashed before sanitization. Use wp_unslash() or similar3
Category
Security
Occurrences
3
Severity
warning

Sample message

$_POST['menu-item-cpcm-item-count'][$menu_item_db_id] 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;3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

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

WARNINGMaintainabilityslow db query tax queryDetected usage of tax_query, possible slow query.2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Detected usage of tax_query, possible slow query.

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

Sample message

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

ERRORI18nNon Singular String Literal TextThe $text parameter must be a single text string literal. Found: 'Replace by posts' . (('Category' == $item->type_label) ? ' in this category.' : ((('Tag' == $item->type_label) || ('Post Tag' == $item->type_label)) ? ' with this tag.' : ' in this taxonomy.'))1
Category
I18n
Occurrences
1
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: 'Replace by posts' . (('Category' == $item->type_label) ? ' in this category.' : ((('Tag' == $item->type_label) || ('Post Tag' == $item->type_label)) ? ' with this tag.' : ' in this taxonomy.'))

WARNINGMaintainabilitymismatched plugin namePlugin name "Category Posts in Custom Menu" is different from the name declared in plugin header "Category Posts in Custom Menu - Free 3.0".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "Category Posts in Custom Menu" is different from the name declared in plugin header "Category Posts in Custom Menu - Free 3.0".

ERRORRepo Compliancereadme mismatched header requiresMismatched Requires at least: 4.9.23 != 5.4. "Requires at least" needs to be exactly the same with that in your main plugin file's header.1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Mismatched Requires at least: 4.9.23 != 5.4. "Requires at least" needs to be exactly the same with that in your main plugin file's header.

Show 2 more
WARNINGMaintainabilityupdate modification detected1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin Updater detected. Detected code which may be altering WordPress update routines. Detected: auto_update_plugin

ERRORMaintainabilitywp function not compatible with requires wp1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Function "build_variation_for_navigation_link()" requires WordPress 5.9.0, but your plugin minimum supported version is WordPress 5.4.0.

External Connections

Not analyzed yet.

Score History

First score snapshot

v3.0.6

49

Latest

Findings
37
Errors
19
Warnings
18
Check
2.0.0

Relationship Map

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

29 nodes

Related Plugins

Breadcrumb Block

3k+ active installs

100
Category Icon

2k+ active installs

100
Menu In Post

2k+ active installs

100
Pages with category and tag

60k+ active installs

100