TotalPoll for Polls and Contests

TotalPoll is a responsive and customizable WordPress poll plugin that will help you create voting contest, competition, image poll, simple poll.

v4.12.0TotalSuiteUpdated Added 1k+ installs86% rating
21
Score
1,366
Errors
155
Warnings
+0
Change

Category Scores

Security0
Repo77
Performance98
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,521 findings

I18n

1,083

4 issue groups

Maintainability

277

14 issue groups

Security

139

7 issue groups

ERRORI18nText Domain MismatchMismatched text domain. Expected 'totalpoll-lite' but got '\n totalpoll\n '.1,029
Category
I18n
Occurrences
1,029
Severity
error

Sample message

Mismatched text domain. Expected 'totalpoll-lite' but got '\n totalpoll\n '.

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

Sample message

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

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<a href=\"{$url}\" target=\"_blank\" class=\"totalpoll-pro-badge\" tooltip=\"${tooltip}\">Pro</a>"'.120
Category
Security
Occurrences
120
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<a href=\"{$url}\" target=\"_blank\" class=\"totalpoll-pro-badge\" tooltip=\"${tooltip}\">Pro</a>"'.

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$actionId&quot;.75
Category
Maintainability
Occurrences
75
Severity
warning

Sample message

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

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

WARNINGMaintainabilityNo PHP code foundNo PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.24
Category
Maintainability
Occurrences
24
Severity
warning

Sample message

No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.

WARNINGMaintainabilityNot In FooterIn 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.17
Category
Maintainability
Occurrences
17
Severity
warning

Sample message

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.

ERRORMaintainabilitydate datedate() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.9
Category
Maintainability
Occurrences
9
Severity
error

Sample message

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

ERRORI18nMissing Arg DomainMissing $domain parameter in function call to esc_html__().7
Category
I18n
Occurrences
7
Severity
error

Sample message

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

ERRORI18nUnordered Placeholders TextMultiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in 'You are running MySql version %s, the minimum required version is %s.'.7
Category
I18n
Occurrences
7
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in 'You are running MySql version %s, the minimum required version is %s.'.

Show 15 more
ERRORMaintainabilitywp function not compatible with requires wp5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

Function "utf8_decode()" requires WordPress 6.9.0, but your plugin minimum supported version is WordPress 4.8.0.

WARNINGSecurityNonce verification recommended4
Category
Security
Occurrences
4
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityRequest data is not unslashed4
Category
Security
Occurrences
4
Severity
warning

Sample message

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

ERRORMaintainabilityfile system operations fwrite4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fwrite().

WARNINGMaintainabilityMissing Version4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Resource version not set in call to wp_enqueue_script(). This means new versions of the script may not always be loaded due to browser caching.

WARNINGMaintainabilityNon-prefixed constant3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

WARNINGSecurityMissing nonce verification3
Category
Security
Occurrences
3
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecuritywp redirect wp redirect3
Category
Security
Occurrences
3
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.

WARNINGSecurityInput is not sanitized3
Category
Security
Occurrences
3
Severity
warning

Sample message

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

ERRORMaintainabilityfile system operations fclose3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().

ERRORMaintainabilityfile system operations fopen3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen().

WARNINGMaintainabilityNon-prefixed hook name2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;totalsuite/in-app-assets&quot;.

WARNINGSecurityInput is not validated2
Category
Security
Occurrences
2
Severity
warning

Sample message

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

ERRORMaintainabilityfile system operations fread2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fread().

WARNINGMaintainabilityDeprecated function: wp_remove_targeted_link_rel_filters2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

wp_remove_targeted_link_rel_filters() has been deprecated since WordPress version 6.7.0.

External Connections

Potential connections found in static code analysis.

53 domains

Outbound calls

193

External assets

3

Incoming endpoints

41

Notable Domains

totalsuite.net46 · outbound
php.net23 · outbound
actionscheduler.org4 · outbound
en.wikipedia.org4 · outbound
twitter.com4 · outbound

Platform / Reference Domains

w3.org21 · platform/reference
github.com15 · platform/reference
opensource.org7 · platform/reference
wordpress.org3 · platform/reference
core.trac.wordpress.org2 · platform/reference
gnu.org1 · platform/reference
schema.org1 · platform/reference

External Asset Domains

fonts.googleapis.com3 · asset + outbound
google.com2 · asset + outbound

Incoming Endpoints

wp_ajax_nopriv_public

wp_ajax

wp_ajax_nopriv_totalpollpublic

wp_ajax

Admin AJAX endpoints39
wp_ajax_totalpollauthenticated

wp_ajax

wp_ajax_totalpoll_dashboard_accountauthenticated

wp_ajax

wp_ajax_totalpoll_dashboard_activateauthenticated

wp_ajax

wp_ajax_totalpoll_dashboard_blog_feedauthenticated

wp_ajax

wp_ajax_totalpoll_dashboard_deactivateauthenticated

wp_ajax

wp_ajax_totalpoll_dashboard_polls_overviewauthenticated

wp_ajax

wp_ajax_totalpoll_entries_downloadauthenticated

wp_ajax

wp_ajax_totalpoll_entries_listauthenticated

wp_ajax

wp_ajax_totalpoll_entries_pollsauthenticated

wp_ajax

wp_ajax_totalpoll_entries_purgeauthenticated

wp_ajax

wp_ajax_totalpoll_entries_removeauthenticated

wp_ajax

wp_ajax_totalpoll_insights_downloadauthenticated

wp_ajax

27 more hidden

Score History

First score snapshot

v4.12.0

21

Latest

Findings
1,521
Errors
1,366
Warnings
155
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins