Mailchimp for WooCommerce

Connect your store to your Mailchimp audience to track sales, create targeted emails, send abandoned cart emails, and more.

v6.1.1MailchimpUpdated Added 200k+ installs80% rating17% support resolved
24
Score
523
Errors
663
Warnings
+0
Change

Category Scores

Security0
Repo90
Performance100
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,186 findings

Security

506

11 issue groups

Maintainability

444

10 issue groups

I18n

172

4 issue groups

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

Sample message

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

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

Sample message

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

ERRORI18nText Domain MismatchMismatched text domain. Expected 'mailchimp-for-woocommerce' but got 'mailchimp-newsletter'.128
Category
I18n
Occurrences
128
Severity
error

Sample message

Mismatched text domain. Expected 'mailchimp-for-woocommerce' but got 'mailchimp-newsletter'.

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

Sample message

Processing form data without nonce verification.

WARNINGSecurityMissingProcessing form data without nonce verification.65
Category
Security
Occurrences
65
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityMissing Unslash$_COOKIE[$key] not unslashed before sanitization. Use wp_unslash() or similar56
Category
Security
Occurrences
56
Severity
warning

Sample message

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

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

Sample message

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

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

Sample message

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

ERRORMaintainabilityEcho FoundShort PHP opening tag used with echo; expected "<?php echo $enable_auto_subscribe ..." but found "<?= $enable_auto_subscribe ..."37
Category
Maintainability
Occurrences
37
Severity
error

Sample message

Short PHP opening tag used with echo; expected "<?php echo $enable_auto_subscribe ..." but found "<?= $enable_auto_subscribe ..."

Show 15 more
ERRORMaintainabilitymissing direct file access protection34
Category
Maintainability
Occurrences
34
Severity
error

Sample message

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

ERRORSecurityNot Prepared28
Category
Security
Occurrences
28
Severity
error

Sample message

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

ERRORI18nMissing Translators Comment16
Category
I18n
Occurrences
16
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.

ERRORI18nMissing Arg Domain15
Category
I18n
Occurrences
15
Severity
error

Sample message

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

WARNINGSecurityInput Not Validated13
Category
Security
Occurrences
13
Severity
warning

Sample message

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

ERRORI18nNon Singular String Literal Text13
Category
I18n
Occurrences
13
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: "Mailchimp says: API Request Error - ".$has_api_error

WARNINGSecuritywp redirect wp redirect12
Category
Security
Occurrences
12
Severity
warning

Sample message

wp_redirect() found. Using wp_safe_redirect(), along with the &quot;allowed_redirect_hosts&quot; 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.

ERRORSecurityException 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 '"Email [{$email}] has been blocked due to spam reports."'.

ERRORSecurityUnsafe Printing Function9
Category
Security
Occurrences
9
Severity
error

Sample message

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

WARNINGSecurityInterpolated Not Prepared8
Category
Security
Occurrences
8
Severity
warning

Sample message

Use placeholders and $wpdb-&gt;prepare(); found interpolated variable $placeholders at &quot;SELECT option_name, option_value FROM $wpdb-&gt;options WHERE option_name IN ($placeholders)&quot;

WARNINGMaintainabilityNon Prefixed Constant Found8
Category
Maintainability
Occurrences
8
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;MC_WC_ADVANCED_TAB&quot;.

WARNINGMaintainabilityNon Prefixed Hookname Found8
Category
Maintainability
Occurrences
8
Severity
warning

Sample message

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

WARNINGMaintainabilityslow db query meta key7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

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.

WARNINGMaintainabilityslow db query meta value6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

Detected usage of meta_value, possible slow query.

Score History

First score snapshot

v6.1.1

24

Latest

Findings
1,186
Errors
523
Warnings
663
Check
2.0.0

Related Plugins

Contact Form Query

1k+ active installs

100
GetResponse Official

4k+ active installs

100
Configure SMTP

6k+ active installs

99
Email Address Obfuscation

2k+ active installs

99
Stop WP Emails Going to Spam

10k+ active installs

99