Exclude Pages

This plugin adds a checkbox, “include this page in menus”, uncheck this to exclude pages from the page navigation that users see on your site.

v1.92Simon WheatleyUpdated Added 30k+ installs98% rating
42
Score
31
Errors
14
Warnings
+0
Change

Category Scores

Security4
Repo83
Performance100
Maintainability86

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

45 findings

Security

21

7 issue groups

I18n

12

2 issue groups

Maintainability

9

6 issue groups

Repo Compliance

3

3 issue groups

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

Sample message

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

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"post.php?action=edit&post=$nearest_excluded_ancestor"'.7
Category
Security
Occurrences
7
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"post.php?action=edit&post=$nearest_excluded_ancestor"'.

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

Sample message

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

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_POST['ep_ctrl_present']. Check that the array index exists before using it.3
Category
Security
Occurrences
3
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_POST['ep_ctrl_present']. Check that the array index exists before using it.

WARNINGSecurityRequest data is not unslashed$_POST['ep_ctrl_present'] not unslashed before sanitization. Use wp_unslash() or similar3
Category
Security
Occurrences
3
Severity
warning

Sample message

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

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.3
Category
I18n
Occurrences
3
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.

ERRORMaintainabilitywp function not compatible with requires wpFunction "add_meta_box()" requires WordPress 2.5.0, but your plugin minimum supported version is WordPress 2.2.3.3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

Function "add_meta_box()" requires WordPress 2.5.0, but your plugin minimum supported version is WordPress 2.2.3.

ERRORMaintainabilityNot AllowedUse of heredoc syntax (<<<) is not allowed; use standard strings or inline HTML instead2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Use of heredoc syntax (<<<) is not allowed; use standard strings or inline HTML instead

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

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

Sample message

Processing form data without nonce verification.

Show 8 more
WARNINGMaintainabilityDirect Query1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().

ERRORSecuritySQL query is not prepared1
Category
Security
Occurrences
1
Severity
error

Sample message

Use placeholders and $wpdb->prepare(); found $sql

WARNINGMaintainabilitymismatched plugin name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "Exclude Pages" is different from the name declared in plugin header "Exclude Pages from Navigation".

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

Score History

First score snapshot

v1.92

42

Latest

Findings
45
Errors
31
Warnings
14
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