Football Pool

Add some game-day fun to your WordPress site! Let users predict match results, earn points, and go head-to-head in a fantasy sports pool.

v2.13.5AntoineHUpdated Added 1k+ installs98% rating100% support resolved
24
Score
1,085
Errors
733
Warnings
+0
Change

Category Scores

Security0
Repo94
Performance98
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,818 findings

Security

1,210

10 issue groups

Maintainability

440

10 issue groups

I18n

131

5 issue groups

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"' )\" href='{$row_action_url}' class='submitdelete'>"'.560
Category
Security
Occurrences
560
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"' )\" href='{$row_action_url}' class='submitdelete'>"'.

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

Sample message

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

WARNINGSecurityInterpolated SQL is not preparedUse placeholders and $wpdb->prepare(); found interpolated variable {$db_table} at "DELETE FROM {$prefix}{$db_table} WHERE user_id = %d"200
Category
Security
Occurrences
200
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable {$db_table} at "DELETE FROM {$prefix}{$db_table} WHERE user_id = %d"

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

Sample message

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

ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.82
Category
Security
Occurrences
82
Severity
error

Sample message

All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.

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

ERRORSecurityDatabase parameter is not escapedUnescaped parameter $sql used in $wpdb->get_col()\n$sql assigned unsafely at line 1143.72
Category
Security
Occurrences
72
Severity
error

Sample message

Unescaped parameter $sql used in $wpdb->get_col()\n$sql assigned unsafely at line 1143.

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

Sample message

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

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "bonusquestion_options".31
Category
Maintainability
Occurrences
31
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "bonusquestion_options".

Show 15 more
ERRORI18nMissing Arg Domain23
Category
I18n
Occurrences
23
Severity
error

Sample message

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

ERRORI18nUnordered Placeholders Text23
Category
I18n
Occurrences
23
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$d, %2$d", but got "%d, %d" in 'Imported csv file should contain %d columns (header contains %d columns). See help page for the correct format.'.

WARNINGSecurityInput is not sanitized22
Category
Security
Occurrences
22
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_FILES['csv_file']['name']

WARNINGSecurityMissing nonce verification21
Category
Security
Occurrences
21
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityRequest data is not unslashed18
Category
Security
Occurrences
18
Severity
warning

Sample message

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

WARNINGSecurityInput is not validated15
Category
Security
Occurrences
15
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_FILES['csv_file']['name']. Check that the array index exists before using it.

WARNINGSecurityNonce verification recommended13
Category
Security
Occurrences
13
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORMaintainabilityMissing direct file access protection11
Category
Maintainability
Occurrences
11
Severity
error

Sample message

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

WARNINGMaintainabilityerror log error log6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

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

ERRORMaintainabilityNon Enqueued Script6
Category
Maintainability
Occurrences
6
Severity
error

Sample message

Scripts must be registered/enqueued via wp_enqueue_script()

WARNINGI18nNo Html Wrapped Strings6
Category
I18n
Occurrences
6
Severity
warning

Sample message

Translatable string should not be wrapped in HTML. Found: '<p>If you don\'t want a ranking to be recalculated everytime a score calculation is done, you can set the <em>calculate</em> option for the ranking to "no". Rankings with this option set to "no" will only be recalculated with a single calculation in the Ranking overview screen or in a full recalculation.</p>'

ERRORMaintainabilitydate date5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

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

ERRORI18nNon Singular String Literal Text5
Category
I18n
Occurrences
5
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: $description

WARNINGMaintainabilityerror log var export4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

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

ERRORMaintainabilityOffloaded Content3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

Offloading images, js, css, and other scripts to your servers or any remote service is disallowed.

External Connections

Potential connections found in static code analysis.

43 domains

Outbound calls

270

External assets

3

Incoming endpoints

4

Notable Domains

php.net10 · outbound
jqueryui.com4 · outbound
codepen.io2 · outbound
dl.dropbox.com2 · outbound
en.wikipedia.org2 · outbound

Platform / Reference Domains

wordpress.org80 · platform/reference
plugins.svn.wordpress.org69 · platform/reference
gnu.org57 · platform/reference
codex.wordpress.org4 · platform/reference
github.com3 · platform/reference
developer.wordpress.org1 · platform/reference
make.wordpress.org1 · platform/reference
profiles.wordpress.org1 · platform/reference
translate.wordpress.org1 · platform/reference

External Asset Domains

paypalobjects.com2 · asset + outbound

Incoming Endpoints

No public endpoints detected.

Admin AJAX endpoints4
wp_ajax_footballpool_calculate_scorehistoryauthenticated

wp_ajax

wp_ajax_footballpool_update_bonus_questionauthenticated

wp_ajax

wp_ajax_footballpool_update_jokerauthenticated

wp_ajax

wp_ajax_footballpool_update_team_predictionauthenticated

wp_ajax

Score History

First score snapshot

v2.13.5

24

Latest

Findings
1,818
Errors
1,085
Warnings
733
Check
2.0.0

Relationship Map

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

35 nodes

Related Plugins

Dinosaur Game

1k+ active installs

99
BZScore – Live Score

700 active installs

94
AnWP Football Leagues

900 active installs

25