Premium Packages – Sell Digital Products Securely

Premium Packages is a free, full-featured WordPress eCommerce plugin to sell digital products easily and securely.

v6.2.0ShahjadaUpdated Added 3k+ installs76% rating
21
Score
2,765
Errors
2,444
Warnings
+0
Change

Category Scores

Security0
Repo70
Performance100
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

5,209 findings

Security

3,102

11 issue groups

Maintainability

1,757

9 issue groups

I18n

299

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 '" class='ttip recal-sa' href='#' rel='{$post_ID}'>"'.1,300
Category
Security
Occurrences
1,300
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" class='ttip recal-sa' href='#' rel='{$post_ID}'>"'.

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

Sample message

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

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

Sample message

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

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

Sample message

Processing form data without nonce verification.

ERRORMaintainabilityShort PHP open tag foundShort PHP opening tag used with echo; expected "<?php echo "WPDM_{$product_id}" ..." but found "<?= "WPDM_{$product_id}" ..."232
Category
Maintainability
Occurrences
232
Severity
error

Sample message

Short PHP opening tag used with echo; expected "<?php echo "WPDM_{$product_id}" ..." but found "<?= "WPDM_{$product_id}" ..."

WARNINGSecurityRequest data is not unslashed$_GET[&#039;_atcdl&#039;] not unslashed before sanitization. Use wp_unslash() or similar197
Category
Security
Occurrences
197
Severity
warning

Sample message

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

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

Sample message

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

ERRORI18nNon Singular String Literal DomainThe $domain parameter must be a single text string literal. Found: WPDMPP_TEXT_DOMAIN163
Category
I18n
Occurrences
163
Severity
error

Sample message

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

WARNINGSecurityInterpolated SQL is not preparedUse placeholders and $wpdb-&gt;prepare(); found interpolated variable $column at &quot;SHOW COLUMNS FROM `{$wpdb-&gt;prefix}{$table}` LIKE &#039;$column&#039;&quot;152
Category
Security
Occurrences
152
Severity
warning

Sample message

Use placeholders and $wpdb-&gt;prepare(); found interpolated variable $column at &quot;SHOW COLUMNS FROM `{$wpdb-&gt;prefix}{$table}` LIKE &#039;$column&#039;&quot;

Show 15 more
WARNINGSecurityInput is not sanitized113
Category
Security
Occurrences
113
Severity
warning

Sample message

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

WARNINGSecurityMissing nonce verification101
Category
Security
Occurrences
101
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput is not validated85
Category
Security
Occurrences
85
Severity
warning

Sample message

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

ERRORI18nText Domain Mismatch71
Category
I18n
Occurrences
71
Severity
error

Sample message

Mismatched text domain. Expected 'wpdm-premium-packages' but got "download-manager".

ERRORSecurityDatabase parameter is not escaped70
Category
Security
Occurrences
70
Severity
error

Sample message

Unescaped parameter $ID used in $wpdb->get_row()\n$ID used without escaping.

ERRORI18nMissing Translators Comment43
Category
I18n
Occurrences
43
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 hook name23
Category
Maintainability
Occurrences
23
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;add_to_cart_button_class&quot;.

ERRORSecuritySQL query is not prepared21
Category
Security
Occurrences
21
Severity
error

Sample message

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

ERRORMaintainabilitydate date21
Category
Maintainability
Occurrences
21
Severity
error

Sample message

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

WARNINGMaintainabilityMissing Version17
Category
Maintainability
Occurrences
17
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.

ERRORI18nMissing Arg Domain13
Category
I18n
Occurrences
13
Severity
error

Sample message

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

ERRORMaintainabilityNot Allowed12
Category
Maintainability
Occurrences
12
Severity
error

Sample message

Use of heredoc syntax (<<<) is not allowed; use standard strings or inline HTML instead

ERRORI18nUnordered Placeholders Text9
Category
I18n
Occurrences
9
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$d, %2$d", but got "%d, %d" in '%d of %d selected'.

WARNINGSecurityDatabase parameter is not escaped6
Category
Security
Occurrences
6
Severity
warning

Sample message

Unescaped parameter $table used in $wpdb-&gt;get_results()\n$column used without escaping.

WARNINGMaintainabilityNot In Footer6
Category
Maintainability
Occurrences
6
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

v6.2.0

21

Latest

Findings
5,209
Errors
2,765
Warnings
2,444
Check
2.0.0

Relationship Map

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

29 nodes

Related Plugins