WordPress polls plugin with multiple-choice, custom answers, cache compatibility, widgets, and shortcodes. Documentation
Prioritized issue groups from the latest Plugin Check scan
Maintainability
492
12 issue groups
Security
313
12 issue groups
I18n
8
1 issue group
Sample message
Short PHP opening tag used with echo; expected "<?php echo $additional ..." but found "<?= $additional ..."
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<h2 style='text-align:center;'>$ex</h2>"'.
Sample message
Use of a direct database call is discouraged.
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$_l10n".
Sample message
$_COOKIE[self::COOKIE_KEY] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Detected usage of a non-sanitized input variable: $_COOKIE[self::COOKIE_KEY]
Sample message
Processing form data without nonce verification.
Sample message
Use placeholders and $wpdb->prepare(); found $del_ids
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "dem_admin_polls_list_answers_column_row".
Sample message
Processing form data without nonce verification.
Sample message
Unescaped parameter $AND_NOT_IN used in $wpdb->get_col()\n$AND_NOT_IN assigned unsafely at line 213.
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable $AND_NOT_IN at "SELECT aid FROM $wpdb->democracy_a WHERE qid = $poll_id $AND_NOT_IN"
Sample message
Use of heredoc syntax (<<<) is not allowed; use standard strings or inline HTML instead
Sample message
Attempting a database schema change is discouraged.
Sample message
Detected usage of a possibly undefined superglobal array index: $_POST['_wpnonce']. Check that the array index exists before using it.
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.
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "democr_delete_plugin".
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.
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" class has no `$name` property."'.
Sample message
Function "str_contains()" requires WordPress 5.9.0, but your plugin minimum supported version is WordPress 5.8.0.
Sample message
print_r() found. Debug code should not normally be used in production.
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found interpolation in unescaped heredoc.
Sample message
rand() is discouraged. Use the far less predictable wp_rand() instead.
Potential connections found in static code analysis.
Outbound calls
14
External assets
0
Incoming endpoints
2
No external asset domains detected.
wp_ajax
wp_ajax
3 score snapshots
v6.5.0
24
Latest
v6.4.0
24
Score
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 24 | 830 | 383 | 447 | v6.5.0 | 2.0.0 |
| 24 | 823 | 387 | 436 | v6.4.0 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.