YASR – Yet Another Star Rating Plugin for WordPress

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

v3.4.15Dash LabsUpdated 2025-04-10Added Jun 4, 201410k+ installs94% rating
30
Score
252
Errors
378
Warnings
+0
Change

Category Scores

Security0
Repo94
Performance100
Maintainability28

Top Issues by Category

security341
maintainability188
i18n89

Issues Details

630 issues found in latest scan

ERROR85
WordPress.Security.EscapeOutput.OutputNotEscaped

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$category'.

WARNING61
WordPress.DB.DirectDatabaseQuery.DirectQuery

Use of a direct database call is discouraged.

WARNING61
WordPress.DB.DirectDatabaseQuery.NoCaching

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

WARNING54
WordPress.Security.NonceVerification.Missing

Processing form data without nonce verification.

WARNING49
WordPress.Security.ValidatedSanitizedInput.MissingUnslash

$_COOKIE[$cookiename] not unslashed before sanitization. Use wp_unslash() or similar

WARNING48
WordPress.Security.ValidatedSanitizedInput.InputNotSanitized

Detected usage of a non-sanitized input variable: $_COOKIE[$cookiename]

ERROR40
WordPress.WP.I18n.MissingTranslatorsComment

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.

ERROR39
WordPress.DB.PreparedSQL.NotPrepared

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

WARNING35
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$active_tab".

WARNING28
WordPress.Security.NonceVerification.Recommended

Processing form data without nonce verification.

WARNING26
WordPress.Security.ValidatedSanitizedInput.InputNotValidated

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

ERROR25
WordPress.WP.I18n.UnorderedPlaceholdersText

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'.

ERROR16
WordPress.WP.I18n.MissingArgDomain

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

ERROR8
PluginCheck.Security.DirectDB.UnescapedDBParameter

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

ERROR8
block_api_version_too_low

Editor blocks must define "apiVersion" 3 or higher in block.json for WordPress 7.0+ iframe editor compatibility.

ERROR7
WordPress.DateTime.RestrictedFunctions.date_date

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

ERROR6
WordPress.WP.AlternativeFunctions.strip_tags_strip_tags

strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.

ERROR5
WordPress.WP.I18n.NonSingularStringLiteralText

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

ERROR3
WordPress.DB.RestrictedClasses.mysql__PDO

Accessing the database directly should be avoided. Please use the $wpdb object and associated functions instead. Found: \PDO.

ERROR3
WordPress.WP.I18n.TextDomainMismatch

Mismatched text domain. Expected 'yet-another-stars-rating' but got 'yasr-pro'.

ERROR3
wp_function_not_compatible_with_requires_wp

Function "register_block_type()" requires WordPress 5.0.0, but your plugin minimum supported version is WordPress 4.7.0.

WARNING2
PluginCheck.Security.DirectDB.UnescapedDBParameter

Unescaped parameter $this used in $wpdb->get_results()

WARNING2
WordPress.DB.PreparedSQL.InterpolatedNotPrepared

Use placeholders and $wpdb->prepare(); found interpolated variable $rmp_table at FROM $rmp_table AS rmp, \r\n

WARNING2
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound

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

WARNING2
WordPress.WP.EnqueuedResourceParameters.NotInFooter

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.

Latest Snapshot

Findings

630

Errors

252

Warnings

378

Score History

First score snapshot

First scan completed Jun 20, 2026

v3.4.15 · Plugin Check 2.0.0 · Model 2026.06-mvp-static-v2

Jun 20, 2026

v3.4.15

30

Latest

Findings
630
Errors
252
Warnings
378
Plugin Check
2.0.0
Model
2026.06-mvp-static-v2

Related Plugins