Boost the way people interact with your site with an easy WordPress stars rating system! With schema.org rich snippets YASR will improve your SEO
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
341
10 issue groups
Maintainability
188
10 issue groups
I18n
89
5 issue groups
ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$category'.85
- Category
- Security
- Occurrences
- 85
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$category'.
WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.61
- Category
- Maintainability
- Occurrences
- 61
- Severity
- warning
Sample message
Use of a direct database call is discouraged.
WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().61
- Category
- Maintainability
- Occurrences
- 61
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
WARNINGSecurityMissingProcessing form data without nonce verification.54
- Category
- Security
- Occurrences
- 54
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGSecurityMissing Unslash$_COOKIE[$cookiename] not unslashed before sanitization. Use wp_unslash() or similar49
- Category
- Security
- Occurrences
- 49
- Severity
- warning
Sample message
$_COOKIE[$cookiename] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_COOKIE[$cookiename]48
- Category
- Security
- Occurrences
- 48
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_COOKIE[$cookiename]
ERRORI18nMissing Translators CommentA 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.40
- Category
- I18n
- Occurrences
- 40
- 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.
ERRORSecurityNot PreparedUse placeholders and $wpdb->prepare(); found $query39
- Category
- Security
- Occurrences
- 39
- Severity
- error
Sample message
Use placeholders and $wpdb->prepare(); found $query
WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$active_tab".35
- Category
- Maintainability
- Occurrences
- 35
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$active_tab".
WARNINGSecurityRecommendedProcessing form data without nonce verification.28
- Category
- Security
- Occurrences
- 28
- Severity
- warning
Sample message
Processing form data without nonce verification.
Show 15 moreShow less
WARNINGSecurityInput Not Validated26
- Category
- Security
- Occurrences
- 26
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_POST['is_singular']. Check that the array index exists before using it.
ERRORI18nUnordered Placeholders Text25
- Category
- I18n
- Occurrences
- 25
- Severity
- error
Sample message
Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in '%s Click here %s to customize the ranking and see a live preview'.
ERRORI18nMissing Arg Domain16
- Category
- I18n
- Occurrences
- 16
- Severity
- error
Sample message
Missing $domain parameter in function call to __().
ERRORSecurityUnescaped DBParameter8
- Category
- Security
- Occurrences
- 8
- Severity
- error
Sample message
Unescaped parameter $query used in $wpdb->get_results()\n$query assigned unsafely at line 266.
ERRORMaintainabilityblock api version too low8
- Category
- Maintainability
- Occurrences
- 8
- Severity
- error
Sample message
Editor blocks must define "apiVersion" 3 or higher in block.json for WordPress 7.0+ iframe editor compatibility.
ERRORMaintainabilitydate date7
- Category
- Maintainability
- Occurrences
- 7
- Severity
- error
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
ERRORMaintainabilitystrip tags strip tags6
- Category
- Maintainability
- Occurrences
- 6
- Severity
- error
Sample message
strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.
ERRORI18nNon Singular String Literal Text5
- Category
- I18n
- Occurrences
- 5
- Severity
- error
Sample message
The $text parameter must be a single text string literal. Found: $readable_name
ERRORMaintainabilitymysql PDO3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- error
Sample message
Accessing the database directly should be avoided. Please use the $wpdb object and associated functions instead. Found: \PDO.
ERRORI18nText Domain Mismatch3
- Category
- I18n
- Occurrences
- 3
- Severity
- error
Sample message
Mismatched text domain. Expected 'yet-another-stars-rating' but got 'yasr-pro'.
ERRORMaintainabilitywp function not compatible with requires wp3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- error
Sample message
Function "register_block_type()" requires WordPress 5.0.0, but your plugin minimum supported version is WordPress 4.7.0.
WARNINGSecurityUnescaped DBParameter2
- Category
- Security
- Occurrences
- 2
- Severity
- warning
Sample message
Unescaped parameter $this used in $wpdb->get_results()
WARNINGSecurityInterpolated Not Prepared2
- Category
- Security
- Occurrences
- 2
- Severity
- warning
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable $rmp_table at FROM $rmp_table AS rmp, \r\n
WARNINGMaintainabilityNon Prefixed Function Found2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "shortcode_overall_rating_callback".
WARNINGMaintainabilityNot In Footer2
- Category
- Maintainability
- Occurrences
- 2
- 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.
Score History
First score snapshot
v3.4.15
30
Latest
- Findings
- 630
- Errors
- 252
- Warnings
- 378
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 30 | 630 | 252 | 378 | v3.4.15 | 2.0.0 |