WP Voting Contest Lite

Let users cast votes on your images/photos.

v5.8MattUpdated Added 400 installs62% rating
24
Score
259
Errors
258
Warnings
+0
Change

Category Scores

Security0
Repo83
Performance98
Maintainability9

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

517 findings

Maintainability

195

14 issue groups

Security

193

9 issue groups

I18n

107

2 issue groups

ERRORI18nText Domain MismatchMismatched text domain. Expected 'wp-voting-contest' but got 'voting-contest'.94
Category
I18n
Occurrences
94
Severity
error

Sample message

Mismatched text domain. Expected 'wp-voting-contest' but got 'voting-contest'.

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

Sample message

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

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

Sample message

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

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_COOKIE['wpvc_freevoting_authorize']. Check that the array index exists before using it.51
Category
Security
Occurrences
51
Severity
warning

Sample message

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

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

Sample message

Processing form data without nonce verification.

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

Sample message

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

ERRORSecurityDatabase parameter is not escapedUnescaped parameter $addFILE_DATE used in $wpdb->query()\n$addFILE_DATE assigned unsafely at line 123.13
Category
Security
Occurrences
13
Severity
error

Sample message

Unescaped parameter $addFILE_DATE used in $wpdb->query()\n$addFILE_DATE assigned unsafely at line 123.

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "cat_extension_payment_entry".13
Category
Maintainability
Occurrences
13
Severity
warning

Sample message

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

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

Sample message

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

Show 15 more
WARNINGMaintainabilityNon-prefixed global variable12
Category
Maintainability
Occurrences
12
Severity
warning

Sample message

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

ERRORMaintainabilitydate date9
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.

ERRORSecurityException output is not escaped8
Category
Security
Occurrences
8
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Compression method ($c) is not defined yet"'.

WARNINGMaintainabilityslow db query meta key5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

ERRORSecurityOutput is not escaped5
Category
Security
Occurrences
5
Severity
error

Sample message

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

WARNINGSecurityMissing nonce verification4
Category
Security
Occurrences
4
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput is not sanitized4
Category
Security
Occurrences
4
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed function3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

WARNINGSecurityRequest data is not unslashed3
Category
Security
Occurrences
3
Severity
warning

Sample message

$_POST['post_id'] not unslashed before sanitization. Use wp_unslash() or similar

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().

ERRORMaintainabilityfile system operations fwrite3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

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

ERRORMaintainabilityDeprecated parameter: get_terms parameter 23
Category
Maintainability
Occurrences
3
Severity
error

Sample message

The parameter "array( 'hide_empty' => false )" at position #2 of get_terms() has been deprecated since WordPress version 4.5.0. Instead do not pass the parameter.

WARNINGMaintainabilitytrademarked term3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "WP Voting Contest Lite" - contains the restricted term "wp" which cannot be used at all in your plugin name.

WARNINGMaintainabilityNo PHP code found2
Category
Maintainability
Occurrences
2
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.

External Connections

Potential connections found in static code analysis.

17 domains

Outbound calls

35

External assets

0

Incoming endpoints

25

Notable Domains

wpvotingcontest.com6 · outbound
bugs.mysql.com3 · outbound
dev.mysql.com1 · outbound
facebook.com1 · outbound
linkedin.com1 · outbound

Platform / Reference Domains

github.com5 · platform/reference
w3.org4 · platform/reference
gnu.org2 · platform/reference
wordpress.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

/wp-json/wpvc-voting/v1/wpvcassigncustomREST

register_rest_route

/wp-json/wpvc-voting/v1/wpvccategorydeleteREST

register_rest_route

/wp-json/wpvc-voting/v1/wpvccategoryfetchREST

register_rest_route

/wp-json/wpvc-voting/v1/wpvccategoryupdateREST

register_rest_route

/wp-json/wpvc-voting/v1/wpvccustomfieldsfetchREST

register_rest_route

/wp-json/wpvc-voting/v1/wpvcdeletecontestantREST

register_rest_route

Score History

First score snapshot

v5.8

24

Latest

Findings
517
Errors
259
Warnings
258
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins

100
100
Simple Block Gallery

1k+ active installs

100
WF Magnific Lightbox

1k+ active installs

100
Gallery Styles

500 active installs

99
jAlbum Bridge

500 active installs

99