Enhanced Recent Posts

Enhance the built-in "Recent Posts" widget.

v1.3.4Vincent Mimoun-PratUpdated Added 400 installs100% rating
35
Score
78
Errors
24
Warnings
+0
Change

Category Scores

Security0
Repo76
Performance100
Maintainability83

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

102 findings

Security

70

6 issue groups

I18n

16

1 issue group

Maintainability

12

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

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

Sample message

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

ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.13
Category
Security
Occurrences
13
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 sanitizedDetected usage of a non-sanitized input variable: $_POST['sidebar']5
Category
Security
Occurrences
5
Severity
warning

Sample message

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

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

Sample message

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

WARNINGSecurityRequest data is not unslashed$_POST['sidebar'] not unslashed before sanitization. Use wp_unslash() or similar5
Category
Security
Occurrences
5
Severity
warning

Sample message

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

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

Sample message

Processing form data without nonce verification.

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

Sample message

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

WARNINGMaintainabilityNon-prefixed classClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "EnhancedRecentPostsPlugin".2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

ERRORMaintainabilityDeprecated parameter: add_option parameter 3The parameter "'Enhanced Recent Posts plugin options'" at position #3 of add_option() has been deprecated since WordPress version 2.3.0. Instead do not pass the parameter.2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

The parameter "'Enhanced Recent Posts plugin options'" at position #3 of add_option() has been deprecated since WordPress version 2.3.0. Instead do not pass the parameter.

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

Sample message

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

ERRORMaintainabilityForbidden PHP function found1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

The use of function wp_get_sidebars_widgets() is forbidden

WARNINGMaintainabilityNon-prefixed hook name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

WARNINGMaintainabilityDiscouraged PHP function1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

wp_reset_query() is discouraged. Use wp_reset_postdata() instead.

ERRORSupply ChainHidden files included1
Category
Supply Chain
Occurrences
1
Severity
error

Sample message

Hidden files are not permitted.

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

Sample message

Tested up to: 3.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.

External Connections

Potential connections found in static code analysis.

1 domains

Outbound calls

2

External assets

0

Incoming endpoints

0

Notable Domains

marvinlabs.com2 · outbound

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Score History

First score snapshot

v1.3.4

35

Latest

Findings
102
Errors
78
Warnings
24
Check
2.0.0

Relationship Map

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

30 nodes

Related Plugins

Breadcrumb Block

3k+ active installs

100
Catch Sticky Menu

2k+ active installs

100
Block Navigation

3k+ active installs

99
Default Post Author

1k+ active installs

99