Related Posts Thumbnails Plugin for WordPress

Related Posts by WPBrigade is The Best Customizable plugin, that nicely displays related posts thumbnails under the post.

v4.3.3marynixieUpdated Added 20k+ installs98% rating
26
Score
382
Errors
198
Warnings
+0
Change

Category Scores

Security0
Repo89
Performance100
Maintainability13

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

580 findings

Security

348

9 issue groups

Maintainability

177

12 issue groups

I18n

35

4 issue groups

ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<input type='hidden' name='email' value='$email'>"'.192
Category
Security
Occurrences
192
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<input type='hidden' name='email' value='$email'>"'.

ERRORSecurityUnsafe Printing FunctionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.97
Category
Security
Occurrences
97
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 Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$Data&quot;.78
Category
Maintainability
Occurrences
78
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$Data&quot;.

WARNINGMaintainabilityNon Prefixed Function FoundFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: &quot;account_page_content&quot;.23
Category
Maintainability
Occurrences
23
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: &quot;account_page_content&quot;.

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

Sample message

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

WARNINGSecurityMissingProcessing form data without nonce verification.17
Category
Security
Occurrences
17
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityNon Prefixed Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;relpost_anchor_attr&quot;.16
Category
Maintainability
Occurrences
16
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;relpost_anchor_attr&quot;.

WARNINGSecurityMissing Unslash$_POST[&#039;reason&#039;] not unslashed before sanitization. Use wp_unslash() or similar12
Category
Security
Occurrences
12
Severity
warning

Sample message

$_POST[&#039;reason&#039;] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGMaintainabilityNon Prefixed Constant FoundGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;RELATED_POSTS_THUMBNAILS_FEEDBACK_SERVER&quot;.10
Category
Maintainability
Occurrences
10
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;RELATED_POSTS_THUMBNAILS_FEEDBACK_SERVER&quot;.

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

Sample message

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

Show 15 more
ERRORMaintainabilitydate date9
Category
Maintainability
Occurrences
9
Severity
error

Sample message

date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.

WARNINGSecurityInput Not Sanitized9
Category
Security
Occurrences
9
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST[&#039;reason&#039;]

ERRORSecurityNot Prepared8
Category
Security
Occurrences
8
Severity
error

Sample message

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

ERRORMaintainabilityEcho Found7
Category
Maintainability
Occurrences
7
Severity
error

Sample message

Short PHP opening tag used with echo; expected "<?php echo $sdk_communication ..." but found "<?= $sdk_communication ..."

WARNINGSecurityInput Not Validated7
Category
Security
Occurrences
7
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_POST[&#039;rpt_submit_optin_nonce&#039;]. Check that the array index exists before using it.

ERRORI18nNon Singular String Literal Text7
Category
I18n
Occurrences
7
Severity
error

Sample message

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

WARNINGMaintainabilityDirect Query5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().

WARNINGMaintainabilityNon Prefixed Class Found5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: &quot;RelatedPostsThumbnails&quot;.

ERRORMaintainabilitywp function not compatible with requires wp5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

Function "get_sites()" requires WordPress 4.6.0, but your plugin minimum supported version is WordPress 3.6.0.

ERRORSecurityUnescaped DBParameter4
Category
Security
Occurrences
4
Severity
error

Sample message

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

WARNINGMaintainabilityNot In Footer4
Category
Maintainability
Occurrences
4
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.

ERRORI18nMissing Translators Comment4
Category
I18n
Occurrences
4
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.

ERRORI18nText Domain Mismatch3
Category
I18n
Occurrences
3
Severity
error

Sample message

Mismatched text domain. Expected 'related-posts-thumbnails' but got 'related-post-thumbnails'.

WARNINGSecuritywp redirect wp redirect2
Category
Security
Occurrences
2
Severity
warning

Sample message

wp_redirect() found. Using wp_safe_redirect(), along with the &quot;allowed_redirect_hosts&quot; filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.

Score History

First score snapshot

v4.3.3

26

Latest

Findings
580
Errors
382
Warnings
198
Check
2.0.0

Related Plugins

Contextual Related Posts

50k+ active installs

93
Related Posts Flatsome

10k+ active installs

88
ElasticPress

8k+ active installs

81
Related Posts By PickPlugins

4k+ active installs

45
Same Category Posts

3k+ active installs

40