Page Specific Menu Items

Allows user to select menu items page wise.

v1.6.5dharmapoudelUpdated Added 2k+ installs92% rating
41
Score
78
Errors
19
Warnings
+0
Change

Category Scores

Security0
Repo86
Performance100
Maintainability90

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

97 findings

Security

52

6 issue groups

I18n

36

3 issue groups

Maintainability

6

3 issue groups

Repo Compliance

3

3 issue groups

ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<option value='' {$selected} >"'.38
Category
Security
Occurrences
38
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<option value='' {$selected} >"'.

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

Sample message

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

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

Sample message

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

WARNINGSecurityMissing Unslash$_POST[&#039;currentpage_items&#039;] not unslashed before sanitization. Use wp_unslash() or similar4
Category
Security
Occurrences
4
Severity
warning

Sample message

$_POST[&#039;currentpage_items&#039;] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGI18nNo Html Wrapped StringsTranslatable string should not be wrapped in HTML. Found: &#039;&lt;h2&gt;Post Specific Menu Items Settings&lt;/h2&gt;&#039;4
Category
I18n
Occurrences
4
Severity
warning

Sample message

Translatable string should not be wrapped in HTML. Found: &#039;&lt;h2&gt;Post Specific Menu Items Settings&lt;/h2&gt;&#039;

ERRORSecurityregister setting MissingSanitization missing for register_setting().2
Category
Security
Occurrences
2
Severity
error

Sample message

Sanitization missing for register_setting().

WARNINGMaintainabilityNon Prefixed Class FoundClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: &quot;Page_Specific_Menu_Items&quot;.2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: &quot;Page_Specific_Menu_Items&quot;.

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

Sample message

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

WARNINGSecurityInput Not ValidatedDetected usage of a possibly undefined superglobal array index: $_REQUEST[$this-&gt;nonce]. Check that the array index exists before using it.2
Category
Security
Occurrences
2
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_REQUEST[$this-&gt;nonce]. Check that the array index exists before using it.

WARNINGMaintainabilityscreen icon Foundscreen_icon() has been deprecated since WordPress version 3.8.0.2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

screen_icon() has been deprecated since WordPress version 3.8.0.

Show 5 more
ERRORI18nInterpolated Variable Text2
Category
I18n
Occurrences
2
Severity
error

Sample message

The $text parameter must not contain interpolated variables or expressions. Found: $items_viewoption

ERRORMaintainabilitymissing direct file access protection2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

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

Sample message

Tested up to: 4.5 < 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 Compliancereadme parser warnings too many tags1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

One or more tags were ignored. Please limit your plugin to 5 tags.

Score History

First score snapshot

v1.6.5

41

Latest

Findings
97
Errors
78
Warnings
19
Check
2.0.0

Related Plugins

Breadcrumb Block

3k+ active installs

100
Menu In Post

2k+ active installs

100
Auto Submenu

2k+ active installs

98
Easy remove item menu

7k+ active installs

98