SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments

Make ecommerce easy with a simple-to-use, all-in-one platform that anyone can set up in just a few minutes!

v4.4.1SureCartUpdated Added 90k+ installs96% rating
19
Score
526
Errors
1,119
Warnings
+0
Change

Category Scores

Security0
Repo64
Performance89
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,645 findings

Maintainability

1,219

13 issue groups

Security

379

9 issue groups

I18n

13

2 issue groups

Supply Chain

5

1 issue group

WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$_wp_current_template_content".618
Category
Maintainability
Occurrences
618
Severity
warning

Sample message

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

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

Sample message

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

WARNINGSecurityRecommendedProcessing form data without nonce verification.145
Category
Security
Occurrences
145
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityMissing Unslash$_COOKIE['sc_click_id'] not unslashed before sanitization. Use wp_unslash() or similar67
Category
Security
Occurrences
67
Severity
warning

Sample message

$_COOKIE['sc_click_id'] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGMaintainabilityNon Prefixed Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "abandoned_order_status_links".57
Category
Maintainability
Occurrences
57
Severity
warning

Sample message

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

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_COOKIE['sc_click_id']57
Category
Security
Occurrences
57
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_COOKIE['sc_click_id']

ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$auto_height'.54
Category
Security
Occurrences
54
Severity
error

Sample message

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

WARNINGMaintainabilityNon Prefixed Function FoundFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "sc_action".29
Category
Maintainability
Occurrences
29
Severity
warning

Sample message

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

ERRORSecurityException Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Config type '{$type}' does not exist."'.29
Category
Security
Occurrences
29
Severity
error

Sample message

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

WARNINGMaintainabilityDynamic Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$event".18
Category
Maintainability
Occurrences
18
Severity
warning

Sample message

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

Show 15 more
WARNINGMaintainabilityerror log error log18
Category
Maintainability
Occurrences
18
Severity
warning

Sample message

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

WARNINGMaintainabilityslow db query meta query17
Category
Maintainability
Occurrences
17
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

WARNINGMaintainabilityNo Code Found15
Category
Maintainability
Occurrences
15
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.

WARNINGMaintainabilityInvalid Prefix Passed14
Category
Maintainability
Occurrences
14
Severity
warning

Sample message

The "surecart.middleware.user.logged" prefix is not a valid namespace/function/class/variable/constant prefix in PHP.

WARNINGSecurityInput Not Validated14
Category
Security
Occurrences
14
Severity
warning

Sample message

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

ERRORI18nMissing Translators Comment10
Category
I18n
Occurrences
10
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.

WARNINGMaintainabilityDirect Query9
Category
Maintainability
Occurrences
9
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().

WARNINGMaintainabilityslow db query meta key7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

ERRORSecurityHeredoc Output 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 interpolation in unescaped heredoc.

ERRORSecurityUnsafe Printing Function5
Category
Security
Occurrences
5
Severity
error

Sample message

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

ERRORSupply Chainhidden files5
Category
Supply Chain
Occurrences
5
Severity
error

Sample message

Hidden files are not permitted.

WARNINGMaintainabilityNon Prefixed Constant Found4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

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

WARNINGSecurityMissing3
Category
Security
Occurrences
3
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORI18nMissing Arg Domain3
Category
I18n
Occurrences
3
Severity
error

Sample message

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

Score History

First score snapshot

v4.4.1

19

Latest

Findings
1,645
Errors
526
Warnings
1,119
Check
2.0.0

Related Plugins