Related Posts by WPBrigade is The Best Customizable plugin, that nicely displays related posts thumbnails under the post.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
348
9 issue groups
Maintainability
177
12 issue groups
I18n
35
4 issue groups
ERRORSecurityOutput is 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 global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$Data".78
- Category
- Maintainability
- Occurrences
- 78
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$Data".
WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "account_page_content".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: "account_page_content".
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 __().
WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.17
- Category
- Security
- Occurrences
- 17
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "relpost_anchor_attr".16
- Category
- Maintainability
- Occurrences
- 16
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "relpost_anchor_attr".
WARNINGSecurityRequest data is not unslashed$_POST['reason'] not unslashed before sanitization. Use wp_unslash() or similar12
- Category
- Security
- Occurrences
- 12
- Severity
- warning
Sample message
$_POST['reason'] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGMaintainabilityNon-prefixed constantGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "RELATED_POSTS_THUMBNAILS_FEEDBACK_SERVER".10
- Category
- Maintainability
- Occurrences
- 10
- Severity
- warning
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "RELATED_POSTS_THUMBNAILS_FEEDBACK_SERVER".
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 moreShow less
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 is not sanitized9
- Category
- Security
- Occurrences
- 9
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_POST['reason']
ERRORSecuritySQL query is not prepared8
- Category
- Security
- Occurrences
- 8
- Severity
- error
Sample message
Use placeholders and $wpdb->prepare(); found $join
ERRORMaintainabilityShort PHP open tag 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 is not validated7
- Category
- Security
- Occurrences
- 7
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_POST['rpt_submit_optin_nonce']. 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 class5
- Category
- Maintainability
- Occurrences
- 5
- Severity
- warning
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "RelatedPostsThumbnails".
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.
ERRORSecurityDatabase parameter is not escaped4
- 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 "allowed_redirect_hosts" 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.
External Connections
Not analyzed yet.
Score History
First score snapshot
v4.3.3
26
Latest
- Findings
- 580
- Errors
- 382
- Warnings
- 198
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 26 | 580 | 382 | 198 | v4.3.3 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.