SportsPress – Sports Club & League Manager

SportsPress is an extendable all-in-one sports data plugin that helps sports clubs set up and manage a league or club site quickly and easily.

v2.7.29ThemeBoyUpdated Added 10k+ installs94% rating100% support resolved
22
Score
460
Errors
2,242
Warnings
+0
Change

Category Scores

Security0
Repo83
Performance98
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

2,702 findings

Maintainability

1,974

17 issue groups

Security

437

5 issue groups

I18n

238

3 issue groups

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

Sample message

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

WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.256
Category
Security
Occurrences
256
Severity
warning

Sample message

Processing form data without nonce verification.

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

Sample message

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

WARNINGMaintainabilityNon-prefixed classClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "SP_AJAX".163
Category
Maintainability
Occurrences
163
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "SP_AJAX".

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

Sample message

Processing form data without nonce verification.

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

WARNINGMaintainabilityNon-prefixed constantGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "DEBUG".94
Category
Maintainability
Occurrences
94
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "DEBUG".

ERRORI18nText Domain MismatchMismatched text domain. Expected 'sportspress' but got 'tgmpa'.94
Category
I18n
Occurrences
94
Severity
error

Sample message

Mismatched text domain. Expected 'sportspress' but got 'tgmpa'.

ERRORMaintainabilitystrip tags strip tagsstrip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.64
Category
Maintainability
Occurrences
64
Severity
error

Sample message

strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.

ERRORMaintainabilitywp function not compatible with requires wpFunction "get_term_meta()" requires WordPress 4.4.0, but your plugin minimum supported version is WordPress 3.8.0.55
Category
Maintainability
Occurrences
55
Severity
error

Sample message

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

Show 15 more
WARNINGMaintainabilityslow db query meta query47
Category
Maintainability
Occurrences
47
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

WARNINGMaintainabilityNon-prefixed hook name42
Category
Maintainability
Occurrences
42
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "SP_TEMPLATE_PATH".

WARNINGMaintainabilityDeprecated parameter: get_terms parameter 240
Category
Maintainability
Occurrences
40
Severity
warning

Sample message

The parameter "$args" at position #2 of get_terms() has been deprecated since WordPress version 4.5.0. Instead do not pass the parameter.

ERRORMaintainabilitydate date36
Category
Maintainability
Occurrences
36
Severity
error

Sample message

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

WARNINGSecurityInterpolated SQL is not prepared22
Category
Security
Occurrences
22
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $d at "SELECT DATE_FORMAT((DATE_ADD('{$thisyear}0101', INTERVAL $d DAY) ), '%m')"

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;

WARNINGMaintainabilityslow db query meta key17
Category
Maintainability
Occurrences
17
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

WARNINGMaintainabilityslow db query tax query15
Category
Maintainability
Occurrences
15
Severity
warning

Sample message

Detected usage of tax_query, possible slow query.

ERRORI18nMissing Arg Domain13
Category
I18n
Occurrences
13
Severity
error

Sample message

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

WARNINGMaintainabilityslow db query meta value11
Category
Maintainability
Occurrences
11
Severity
warning

Sample message

Detected usage of meta_value, possible slow query.

ERRORSecurityException output is not escaped10
Category
Security
Occurrences
10
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"' in '{$infix}'."'.

WARNINGMaintainabilityDirect Query8
Category
Maintainability
Occurrences
8
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching8
Category
Maintainability
Occurrences
8
Severity
warning

Sample message

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

WARNINGSecuritywp redirect wp redirect8
Category
Security
Occurrences
8
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.

WARNINGMaintainabilityNot In Footer7
Category
Maintainability
Occurrences
7
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.

External Connections

Not analyzed yet.

Score History

First score snapshot

v2.7.29

22

Latest

Findings
2,702
Errors
460
Warnings
2,242
Check
2.0.0

Relationship Map

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

29 nodes

Related Plugins