Poll Maker by AYS – Versus Polls, Anonymous Polls, Image Polls

Poll Maker is a FREE WordPress poll plugin that will let you create customizable and professional online polls and voting for your WordPress website.

v6.4.0Ays ProUpdated Added 7k+ installs88% rating100% support resolved
25
Score
486
Errors
1,414
Warnings
+0
Change

Category Scores

Security0
Repo100
Performance100
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,900 findings

Security

967

11 issue groups

Maintainability

881

13 issue groups

I18n

11

1 issue group

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$acordion_svg_html_allow".440
Category
Maintainability
Occurrences
440
Severity
warning

Sample message

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

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

Sample message

Processing form data without nonce verification.

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<a style='color:blue;text-decoration:underline;font-size:20px;' href='?page=$this->plugin_name-settings&ays_poll_tab=tab2'>"'.190
Category
Security
Occurrences
190
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<a style='color:blue;text-decoration:underline;font-size:20px;' href='?page=$this->plugin_name-settings&ays_poll_tab=tab2'>"'.

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.186
Category
Maintainability
Occurrences
186
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().161
Category
Maintainability
Occurrences
161
Severity
warning

Sample message

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

WARNINGSecurityRequest data is not unslashed$_GET[&#039;_wpnonce&#039;] not unslashed before sanitization. Use wp_unslash() or similar145
Category
Security
Occurrences
145
Severity
warning

Sample message

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

ERRORSecuritySQL query is not preparedUse placeholders and $wpdb->prepare(); found $ans_sql109
Category
Security
Occurrences
109
Severity
error

Sample message

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

ERRORSecurityDatabase parameter is not escapedUnescaped parameter $ans_sql used in $wpdb->get_results()\n$ans_sql assigned unsafely at line 355.80
Category
Security
Occurrences
80
Severity
error

Sample message

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

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET[&#039;_wpnonce&#039;]66
Category
Security
Occurrences
66
Severity
warning

Sample message

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

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_GET[&#039;mcount&#039;]. Check that the array index exists before using it.53
Category
Security
Occurrences
53
Severity
warning

Sample message

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

Show 15 more
WARNINGSecurityMissing nonce verification34
Category
Security
Occurrences
34
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInterpolated SQL is not prepared24
Category
Security
Occurrences
24
Severity
warning

Sample message

Use placeholders and $wpdb-&gt;prepare(); found interpolated variable $answ_table at &quot;SELECT MAX(id) FROM $answ_table WHERE poll_id = %d AND answer = %s&quot;

WARNINGSecuritywp redirect wp redirect22
Category
Security
Occurrences
22
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.

ERRORMaintainabilityMissing direct file access protection22
Category
Maintainability
Occurrences
22
Severity
error

Sample message

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

ERRORMaintainabilitydate date18
Category
Maintainability
Occurrences
18
Severity
error

Sample message

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

WARNINGSecurityDatabase parameter is not escaped17
Category
Security
Occurrences
17
Severity
warning

Sample message

Unescaped parameter $answers_table used in $wpdb-&gt;get_results()\n$answers_table assigned unsafely at line 125.

ERRORMaintainabilitywp function not compatible with requires wp16
Category
Maintainability
Occurrences
16
Severity
error

Sample message

Function "delete_network_option()" requires WordPress 4.4.0, but your plugin minimum supported version is WordPress 4.0.0.

ERRORI18nNon Singular String Literal Domain11
Category
I18n
Occurrences
11
Severity
error

Sample message

The $domain parameter must be a single text string literal. Found: $this->plugin_name

WARNINGMaintainabilityNon-prefixed hook name8
Category
Maintainability
Occurrences
8
Severity
warning

Sample message

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

ERRORMaintainabilityShort PHP open tag found7
Category
Maintainability
Occurrences
7
Severity
error

Sample message

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

WARNINGMaintainabilityNon-prefixed function6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

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

WARNINGMaintainabilitySchema Change5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

Attempting a database schema change is discouraged.

WARNINGMaintainabilityslow db query meta key4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

WARNINGMaintainabilityNon-prefixed class4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

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

WARNINGMaintainabilityerror log print r4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

print_r() found. Debug code should not normally be used in production.

Score History

First score snapshot

v6.4.0

25

Latest

Findings
1,900
Errors
486
Warnings
1,414
Check
2.0.0

Related Plugins

Crowdsignal Forms

200k+ active installs

100
YOP Poll

10k+ active installs

100
WP-Polls

40k+ active installs

25
Democracy Poll

7k+ active installs

24