GD Rating System

Powerful, highly customizable and versatile ratings plugin to allow your users to vote for anything you want.

v3.7Milan PetrovicUpdated Added 1k+ installs86% rating
25
Score
1,511
Errors
1,043
Warnings
+0
Change

Category Scores

Security0
Repo100
Performance100
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

2,554 findings

Security

1,667

11 issue groups

Maintainability

706

11 issue groups

I18n

122

3 issue groups

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<li><strong>Group:</strong> $group - ( "'.744
Category
Security
Occurrences
744
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<li><strong>Group:</strong> $group - ( "'.

ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.532
Category
Security
Occurrences
532
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: &quot;$__gdrts_addon_comments&quot;.387
Category
Maintainability
Occurrences
387
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: &quot;_gdrts_embed_like_this&quot;.141
Category
Maintainability
Occurrences
141
Severity
warning

Sample message

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

WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.129
Category
Security
Occurrences
129
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityRequest data is not unslashed$_COOKIE[$key] not unslashed before sanitization. Use wp_unslash() or similar74
Category
Security
Occurrences
74
Severity
warning

Sample message

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

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_COOKIE[$key]73
Category
Security
Occurrences
73
Severity
warning

Sample message

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

ERRORI18nText Domain MismatchMismatched text domain. Expected 'gd-rating-system' but got "d4plib".59
Category
I18n
Occurrences
59
Severity
error

Sample message

Mismatched text domain. Expected 'gd-rating-system' but got "d4plib".

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.50
Category
I18n
Occurrences
50
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.

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

Sample message

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

Show 15 more
WARNINGSecurityInput is not validated36
Category
Security
Occurrences
36
Severity
warning

Sample message

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

WARNINGSecurityMissing nonce verification34
Category
Security
Occurrences
34
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityNon-prefixed class32
Category
Maintainability
Occurrences
32
Severity
warning

Sample message

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

ERRORMaintainabilitydate date21
Category
Maintainability
Occurrences
21
Severity
error

Sample message

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

WARNINGSecuritywp redirect wp redirect20
Category
Security
Occurrences
20
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.

WARNINGMaintainabilityDynamic hook name17
Category
Maintainability
Occurrences
17
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$this-&gt;base.&#039;_&#039;.$this-&gt;scope.&#039;_settings_get&#039;&quot;.

WARNINGMaintainabilityNon-prefixed constant17
Category
Maintainability
Occurrences
17
Severity
warning

Sample message

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

WARNINGMaintainabilityDirect Query13
Category
Maintainability
Occurrences
13
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching13
Category
Maintainability
Occurrences
13
Severity
warning

Sample message

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

ERRORI18nUnordered Placeholders Text13
Category
I18n
Occurrences
13
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in '%s %s'.

WARNINGMaintainabilityDiscouraged PHP function12
Category
Maintainability
Occurrences
12
Severity
warning

Sample message

The use of function ini_set() is discouraged

WARNINGMaintainabilityNon-prefixed hook name10
Category
Maintainability
Occurrences
10
Severity
warning

Sample message

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

WARNINGSecurityDatabase parameter is not escaped9
Category
Security
Occurrences
9
Severity
warning

Sample message

Unescaped parameter $table used in $wpdb-&gt;get_results()

ERRORSecuritySQL query is not prepared9
Category
Security
Occurrences
9
Severity
error

Sample message

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

ERRORSecurityDatabase parameter is not escaped7
Category
Security
Occurrences
7
Severity
error

Sample message

Unescaped parameter $query used in $wpdb->get_results()\n$query used without escaping.

External Connections

Potential connections found in static code analysis.

25 domains

Outbound calls

130

External assets

2

Incoming endpoints

5

Notable Domains

dev4press.com41 · outbound
plugins.dev4press.com15 · outbound
support.dev4press.com12 · outbound
texotela.co.uk4 · outbound
flag-sprites.com2 · outbound

Platform / Reference Domains

schema.org21 · platform/reference
github.com6 · platform/reference
opensource.org4 · platform/reference
gnu.org2 · platform/reference
w3.org2 · platform/reference

External Asset Domains

Incoming Endpoints

wp_ajax_nopriv_gdrts_live_handlerpublic

wp_ajax

Admin AJAX endpoints4
wp_ajax_gdrts_live_handlerauthenticated

wp_ajax

wp_ajax_gdrts_tools_dbfourauthenticated

wp_ajax

wp_ajax_gdrts_tools_recalcauthenticated

wp_ajax

wp_ajax_gdrts_transfer_processauthenticated

wp_ajax

Score History

First score snapshot

v3.7

25

Latest

Findings
2,554
Errors
1,511
Warnings
1,043
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins

Absolute Reviews

6k+ active installs

99
Widget for Google Reviews

1k+ active installs

97
Book Review Block

1k+ active installs

91
Tasty Recipes Lite

2k+ active installs

82