Recent Posts

Displays a list of recent posts.

v2.6.2.0RobMarshUpdated Added 500 installs0% rating
36
Score
106
Errors
30
Warnings
+0
Change

Category Scores

Security0
Repo80
Performance100
Maintainability69

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

136 findings

Security

55

9 issue groups

Maintainability

39

11 issue groups

I18n

37

3 issue groups

Repo Compliance

2

2 issue groups

ERRORI18nText Domain MismatchMismatched text domain. Expected 'recent-posts-plugin' but got 'recent-posts'.33
Category
I18n
Occurrences
33
Severity
error

Sample message

Mismatched text domain. Expected 'recent-posts-plugin' but got 'recent-posts'.

ERRORMaintainabilitywp function not compatible with requires wpFunction "__()" requires WordPress 2.1.0, but your plugin minimum supported version is WordPress 1.5.0.25
Category
Maintainability
Occurrences
25
Severity
error

Sample message

Function "__()" requires WordPress 2.1.0, but your plugin minimum supported version is WordPress 1.5.0.

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

Sample message

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

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$after_title'.16
Category
Security
Occurrences
16
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'.

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "ppl_plugin_basename".4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "ppl_plugin_basename".

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

Sample message

Processing form data without nonce verification.

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

Sample message

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

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_POST['widget_rrm_recent_posts_submit']3
Category
Security
Occurrences
3
Severity
warning

Sample message

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

WARNINGSecurityRequest data is not unslashed$_POST['widget_rrm_recent_posts_submit'] not unslashed before sanitization. Use wp_unslash() or similar3
Category
Security
Occurrences
3
Severity
warning

Sample message

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

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

Sample message

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

Show 15 more
WARNINGSecurityDeprecated function: attribute_escape2
Category
Security
Occurrences
2
Severity
warning

Sample message

attribute_escape() has been deprecated since WordPress version 2.8.0. Use esc_attr() instead.

ERRORMaintainabilityMissing direct file access protection2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

ERRORMaintainabilityForbidden PHP function found1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

The use of function eval() is forbidden

ERRORSecurityDatabase parameter is not escaped1
Category
Security
Occurrences
1
Severity
error

Sample message

Unescaped parameter $sql used in $wpdb->get_results()\n$sql assigned unsafely at line 114.

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

ERRORSecuritySQL query is not prepared1
Category
Security
Occurrences
1
Severity
error

Sample message

Use placeholders and $wpdb->prepare(); found $sql

WARNINGMaintainabilityNon-prefixed class1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed constant1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "DSEP".

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: "'activate_'.$plugin_path".

WARNINGMaintainabilityDeprecated function: register_sidebar_widget1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

register_sidebar_widget() has been deprecated since WordPress version 2.8.0. Use wp_register_sidebar_widget() instead.

WARNINGMaintainabilityDeprecated function: register_widget_control1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

register_widget_control() has been deprecated since WordPress version 2.8.0. Use wp_register_widget_control() instead.

WARNINGI18nNo Html Wrapped Strings1
Category
I18n
Occurrences
1
Severity
warning

Sample message

Translatable string should not be wrapped in HTML. Found: '<h1>Please install the <a href="http://downloads.wordpress.org/plugin/post-plugin-library.zip">Post Plugin Library</a> plugin.</h1>'

ERRORRepo Complianceno license1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Missing "License". Please update your readme with a valid GPLv2 (or later) compatible license.

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

Sample message

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

External Connections

Potential connections found in static code analysis.

5 domains

Outbound calls

10

External assets

0

Incoming endpoints

0

Notable Domains

rmarsh.com6 · outbound

Platform / Reference Domains

codex.wordpress.org1 · platform/reference
downloads.wordpress.org1 · platform/reference
gnu.org1 · platform/reference
wordpress.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Score History

First score snapshot

v2.6.2.0

36

Latest

Findings
136
Errors
106
Warnings
30
Check
2.0.0

Relationship Map

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

30 nodes

Related Plugins

Default Post Author

1k+ active installs

99
Essential Widgets

10k+ active installs

99
Auto Tag Creator

1k+ active installs

98
Date Published Shortcode

500 active installs

98