Poll Maker is a FREE WordPress poll plugin that will let you create customizable and professional online polls and voting for your WordPress website.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
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['_wpnonce'] not unslashed before sanitization. Use wp_unslash() or similar145
- Category
- Security
- Occurrences
- 145
- Severity
- warning
Sample message
$_GET['_wpnonce'] 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['_wpnonce']66
- Category
- Security
- Occurrences
- 66
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_GET['_wpnonce']
WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_GET['mcount']. 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['mcount']. Check that the array index exists before using it.
Show 15 moreShow less
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->prepare(); found interpolated variable $answ_table at "SELECT MAX(id) FROM $answ_table WHERE poll_id = %d AND answer = %s"
WARNINGSecuritywp redirect wp redirect22
- Category
- Security
- Occurrences
- 22
- 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.
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->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: "ays_poll_maker_after_vote".
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: "activate_poll_maker_ays".
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: "Ays_Poll_Maker_Extra_Shortcodes_Public".
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
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 25 | 1,900 | 486 | 1,414 | v6.4.0 | 2.0.0 |