TW Recent Posts Widget

A simple and flexible widget for WordPress which will show recent posts from selected category allowing increased customization to display recent post …

v1.0.5tweetyshaUpdated Added 1k+ installs88% rating
40
Score
97
Errors
14
Warnings
+0
Change

Category Scores

Security0
Repo83
Performance100
Maintainability86

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

111 findings

Security

69

2 issue groups

I18n

23

1 issue group

Maintainability

15

6 issue groups

Repo Compliance

4

4 issue groups

ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$after_title'.49
Category
Security
Occurrences
49
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: $this->localization_domain23
Category
I18n
Occurrences
23
Severity
error

Sample message

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

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

Sample message

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

WARNINGMaintainabilityNon Prefixed Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "category".10
Category
Maintainability
Occurrences
10
Severity
warning

Sample message

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

WARNINGMaintainabilityNon Prefixed Class FoundClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "TW_Recent_Posts".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

ERRORMaintainabilityTEMPLATEPATHUsage FoundFound usage of constant "TEMPLATEPATH". Use get_template_directory() instead.1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Found usage of constant "TEMPLATEPATH". Use get_template_directory() instead.

WARNINGMaintainabilitywp reset query wp reset querywp_reset_query() is discouraged. Use wp_reset_postdata() instead.1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

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

Sample message

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

ERRORRepo Complianceoutdated tested upto headerTested up to: 4.4 < 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: 4.4 < 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.

Show 3 more
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.

WARNINGRepo Compliancereadme parser warnings trimmed short description1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

The "Short Description" section is too long and was truncated. A maximum of 150 characters is supported.

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.

Score History

First score snapshot

v1.0.5

40

Latest

Findings
111
Errors
97
Warnings
14
Check
2.0.0

Related Plugins

Category Icon

2k+ active installs

100
Pages with category and tag

60k+ active installs

100
Archive Title

1k+ active installs

98
Add Category to Pages

20k+ active installs

97
Front Page Category

5k+ active installs

97