Custom Recent Posts Widget

A widget to show recent posts list based on categories or tags

v2.1.1Prasanna SPUpdated Added 1k+ installs98% rating
41
Score
63
Errors
4
Warnings
+0
Change

Category Scores

Security1
Repo86
Performance100
Maintainability89

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

67 findings

Security

44

2 issue groups

I18n

12

1 issue group

Maintainability

8

4 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'.36
Category
Security
Occurrences
36
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'.

ERRORI18nMissing Arg DomainMissing $domain parameter in function call to __().12
Category
I18n
Occurrences
12
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'.

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;

ERRORMaintainabilitystrip tags strip tagsstrip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.

WARNINGMaintainabilityDiscouraged PHP functionwp_reset_query() is discouraged. Use wp_reset_postdata() instead.2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

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

Sample message

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

ERRORRepo Complianceoutdated tested upto headerTested 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.1
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 licenseMissing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.1
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 tagsOne or more tags were ignored. Please limit your plugin to 5 tags.1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

One or more tags were ignored. Please limit your plugin to 5 tags.

Score History

First score snapshot

v2.1.1

41

Latest

Findings
67
Errors
63
Warnings
4
Check
2.0.0

Related Plugins

Category Icon

2k+ active installs

100
Pages with category and tag

60k+ active installs

100
Essential Widgets

10k+ active installs

99
Archive Title

1k+ active installs

98