WP PageNavi Style

Adds a more styling options to Wp-PageNavi wordpress plugin.

v1.4Nilesh ShiragaveUpdated Added 8k+ installs96% rating
37
Score
109
Errors
11
Warnings
+0
Change

Category Scores

Security0
Repo77
Performance100
Maintainability75

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

120 findings

Security

93

6 issue groups

Maintainability

18

9 issue groups

Repo Compliance

5

5 issue groups

I18n

4

3 issue groups

ERRORSecurityUnsafe Printing FunctionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.59
Category
Security
Occurrences
59
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 '$exit_msg'.29
Category
Security
Occurrences
29
Severity
error

Sample message

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

ERRORMaintainabilityNon Enqueued ScriptScripts must be registered/enqueued via wp_enqueue_script()4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

Scripts must be registered/enqueued via wp_enqueue_script()

ERRORMaintainabilitymissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

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

WARNINGMaintainabilitytrademarked termThe plugin name includes a restricted term. Your chosen plugin name - "WP PageNavi Style" - contains the restricted term "wp" which cannot be used at all in your plugin name.3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "WP PageNavi Style" - contains the restricted term "wp" which cannot be used at all in your plugin name.

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

Sample message

Processing form data without nonce verification.

ERRORMaintainabilityNon Enqueued StylesheetStylesheets must be registered/enqueued via wp_enqueue_style()2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Stylesheets must be registered/enqueued via wp_enqueue_style()

ERRORI18nText Domain MismatchMismatched text domain. Expected 'wp-pagenavi-style' but got 'WPSOCIALTOOLBAR'.2
Category
I18n
Occurrences
2
Severity
error

Sample message

Mismatched text domain. Expected 'wp-pagenavi-style' but got 'WPSOCIALTOOLBAR'.

WARNINGSecurityUsing 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 Not SanitizedDetected usage of a non-sanitized input variable: $_POST['WP_PAGENAVI_STYLE_OPTION']1
Category
Security
Occurrences
1
Severity
warning

Sample message

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

Show 13 more
WARNINGSecurityMissing Unslash1
Category
Security
Occurrences
1
Severity
warning

Sample message

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

ERRORMaintainabilityPLUGINDIRUsage Found1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Found usage of constant "PLUGINDIR". Use WP_PLUGIN_DIR instead.

ERRORI18nMissing Arg Domain1
Category
I18n
Occurrences
1
Severity
error

Sample message

Missing $domain parameter in function call to _e().

ERRORI18nNon Singular String Literal Text1
Category
I18n
Occurrences
1
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: strtoupper(str_replace('_', ' ', $flie_name[0]))

ERRORMaintainabilitylibrary core files1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Library files that are already in the WordPress core are not permitted.

WARNINGMaintainabilitymismatched plugin name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "WP PageNavi Style" is different from the name declared in plugin header "Wp Pagenavi Style".

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

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: "lang"

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.

ERRORMaintainabilitytrunk stable tag1
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.

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

Sample message

Function "wp_dequeue_style()" requires WordPress 3.1.0, but your plugin minimum supported version is WordPress 3.0.0.

Score History

First score snapshot

v1.4

37

Latest

Findings
120
Errors
109
Warnings
11
Check
2.0.0

Related Plugins

Breadcrumb Block

3k+ active installs

100
Catch Sticky Menu

2k+ active installs

100
Hide Drafts in Menus

1k+ active installs

100
Block Navigation

3k+ active installs

99
Essential Widgets

10k+ active installs

99