Zen Menu Logic

Zen Menu Logic allows the user to select any of several custom menus to appear on a per page basis.

vv1.6zenofwordpressUpdated Added 1k+ installs98% rating
62
Score
19
Errors
3
Warnings
+0
Change

Category Scores

Security35
Repo94
Performance100
Maintainability93

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

22 findings

Security

14

5 issue groups

I18n

4

1 issue group

Maintainability

3

3 issue groups

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 '$key'.10
Category
Security
Occurrences
10
Severity
error

Sample message

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

ERRORI18nText Domain MismatchMismatched text domain. Expected 'zen-menu-logic' but got 'zenofwp_menulogic_textdomain'.4
Category
I18n
Occurrences
4
Severity
error

Sample message

Mismatched text domain. Expected 'zen-menu-logic' but got 'zenofwp_menulogic_textdomain'.

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'.

WARNINGSecurityPlugin menu slug uses __FILE__Using __FILE__ for menu slugs risks exposing filesystem structure.1
Category
Security
Occurrences
1
Severity
warning

Sample message

Using __FILE__ for menu slugs risks exposing filesystem structure.

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_POST['zenofwp_menulogic_noncename']1
Category
Security
Occurrences
1
Severity
warning

Sample message

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

WARNINGSecurityRequest data is not unslashed$_POST['zenofwp_menulogic_noncename'] not unslashed before sanitization. Use wp_unslash() or similar1
Category
Security
Occurrences
1
Severity
warning

Sample message

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

ERRORMaintainabilityDeprecated function: screen_iconscreen_icon() has been deprecated since WordPress version 3.8.0.1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

screen_icon() has been deprecated since WordPress version 3.8.0.

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

ERRORMaintainabilitytrunk stable tagIncorrect 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.1
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.

Score History

First score snapshot

vv1.6

62

Latest

Findings
22
Errors
19
Warnings
3
Check
2.0.0