Page scroll to id

Create links that scroll the page smoothly to any id within the document.

v1.7.9malihuUpdated Added 100k+ installs98% rating100% support resolved
37
Score
38
Errors
120
Warnings
+0
Change

Category Scores

Security0
Repo89
Performance100
Maintainability68

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

158 findings

Security

97

6 issue groups

Maintainability

39

12 issue groups

I18n

20

3 issue groups

Repo Compliance

2

2 issue groups

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

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_ENV["ps2id_p_pl_pfx"]22
Category
Security
Occurrences
22
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_ENV["ps2id_p_pl_pfx"]

WARNINGSecurityInput Not ValidatedDetected usage of a possibly undefined superglobal array index: $_ENV["ps2id_p_pl_pfx"]. Check that the array index exists before using it.20
Category
Security
Occurrences
20
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_ENV["ps2id_p_pl_pfx"]. Check that the array index exists before using it.

WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$blog_ids".15
Category
Maintainability
Occurrences
15
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$blog_ids".

WARNINGSecurityMissing Unslash$_POST[$this->db_prefix.$i.'_clickedClass'] not unslashed before sanitization. Use wp_unslash() or similar15
Category
Security
Occurrences
15
Severity
warning

Sample message

$_POST[$this->db_prefix.$i.'_clickedClass'] not unslashed before sanitization. Use wp_unslash() or similar

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

Sample message

The $domain parameter must be a single text string literal. Found: $this->plugin_slug

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

Sample message

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

ERRORI18nMissing Arg DomainMissing $domain parameter in function call to esc_attr_e().7
Category
I18n
Occurrences
7
Severity
error

Sample message

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

ERRORI18nNon Singular String Literal TextThe $text parameter must be a single text string literal. Found: $this->plugin_name4
Category
I18n
Occurrences
4
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: $this->plugin_name

ERRORMaintainabilityFoundThe use of function create_function() is forbidden3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

The use of function create_function() is forbidden

Show 13 more
WARNINGMaintainabilityNon Prefixed Class Found3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "malihuPageScroll2id".

ERRORSecurityUnsafe Printing Function2
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'.

WARNINGSecurityRecommended2
Category
Security
Occurrences
2
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityMissing Version2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Resource version not set in call to wp_enqueue_style(). This means new versions of the style may not always be loaded due to browser caching.

ERRORMaintainabilitywp function not compatible with requires wp2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Function "register_block_type()" requires WordPress 5.0.0, but your plugin minimum supported version is WordPress 3.3.0.

ERRORMaintainabilityOffloaded Content1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Offloading images, js, css, and other scripts to your servers or any remote service is disallowed.

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

WARNINGMaintainabilityerror log var export1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

var_export() found. Debug code should not normally be used in production.

WARNINGMaintainabilityscreen icon Found1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

screen_icon() has been deprecated since WordPress version 3.8.0.

ERRORRepo Complianceinvalid license1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Your plugin has an invalid license declared. Please update your readme with a valid SPDX license identifier.

ERRORRepo Compliancelicense mismatch1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Your plugin has a different license declared in the readme file and plugin header. Please update your readme with a valid GPL license identifier.

WARNINGMaintainabilityupgrade notice limit1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The upgrade notice for "1.7.8" exceeds the limit of 300 characters.

Score History

First score snapshot

v1.7.9

37

Latest

Findings
158
Errors
38
Warnings
120
Check
2.0.0

Related Plugins

Breadcrumb Block

3k+ active installs

100
Block Navigation

3k+ active installs

99
Auto Submenu

2k+ active installs

98
Genesis Simple Menus

2k+ active installs

98
Heroic Table of Contents

5k+ active installs

98