Sticky Posts – Switch

This plugin adds a sticky post switch functionality to the admin list post/custom post type pages.

v2.1.3Markus WiesenhoferUpdated Added 6k+ installs88% rating
41
Score
84
Errors
5
Warnings
+0
Change

Category Scores

Security0
Repo83
Performance100
Maintainability92

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

89 findings

Security

52

4 issue groups

I18n

31

3 issue groups

Maintainability

3

3 issue groups

Repo Compliance

3

3 issue groups

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$active_ml_plugins'.41
Category
Security
Occurrences
41
Severity
error

Sample message

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

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

Sample message

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

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

Sample message

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

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_POST['handle']. 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: $_POST['handle']. Check that the array index exists before using it.

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

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "mlp_language_api".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "mlp_language_api".

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

Sample message

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

WARNINGMaintainabilityNot In FooterIn footer ($in_footer) is not set explicitly wp_enqueue_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

In footer ($in_footer) is not set explicitly wp_enqueue_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.

ERRORI18nUnordered Placeholders TextMultiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in 'Supported Plugins: %s, %s'.1
Category
I18n
Occurrences
1
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in 'Supported Plugins: %s, %s'.

ERRORMaintainabilityinvalid plugin namePlugin name header in your readme is missing or invalid. Please update your readme with a valid plugin name header. Eg: "=== Example Name ==="1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Plugin name header in your readme is missing or invalid. Please update your readme with a valid plugin name header. Eg: "=== Example Name ==="

Show 3 more
ERRORRepo Compliancemismatched tested up to header1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Mismatched "Tested up to": 6.0.1 != 5.4.2. The "Tested up to" value in the readme file must match the "Tested up to" value in the plugin header. If the plugin header has a "Tested up to" value, it will override the readme value, which can cause confusion.

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

Sample message

Tested up to: 6.0 < 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 invalid author uri1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

The "Author URI" header in the plugin file is not valid.

External Connections

Not analyzed yet.

Score History

First score snapshot

v2.1.3

41

Latest

Findings
89
Errors
84
Warnings
5
Check
2.0.0

Relationship Map

Author, categories, issues, domains, and nearby plugins.

29 nodes

Related Plugins

Catch Sticky Menu

2k+ active installs

100
Default Admin Color Scheme

800 active installs

100
PufferDesk

0 active installs

100
Redux Framework

900k+ active installs

100
Simply Show Hooks

2k+ active installs

100
Add Dashboard Columns

400 active installs

99