Coupon Affiliates – Affiliate Plugin for WooCommerce

The most powerful affiliate plugin for WooCommerce. Track commission, generate referral URLs, assign affiliate coupons, and display detailed stats.

v7.8.2Elliot Sowersby / RelyWPUpdated Added 5k+ installs98% rating100% support resolved
24
Score
1,022
Errors
3,074
Warnings
+0
Change

Category Scores

Security0
Repo97
Performance93
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

4,096 findings

Maintainability

1,966

13 issue groups

Security

1,866

10 issue groups

I18n

164

2 issue groups

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

Sample message

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

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" <a href='{$skip_url}' class='button button-small button-secondary'>{$use_plugin_anonymously_text}</a>"'.630
Category
Security
Occurrences
630
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" <a href='{$skip_url}' class='button button-small button-secondary'>{$use_plugin_anonymously_text}</a>"'.

WARNINGSecurityRequest data is not unslashed$_COOKIE[&#039;wcusage_referral&#039;] not unslashed before sanitization. Use wp_unslash() or similar326
Category
Security
Occurrences
326
Severity
warning

Sample message

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

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

Sample message

Processing form data without nonce verification.

WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.209
Category
Security
Occurrences
209
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.152
Category
I18n
Occurrences
152
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 QueryUse of a direct database call is discouraged.129
Category
Maintainability
Occurrences
129
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_GET[&#039;_wpnonce&#039;]. Check that the array index exists before using it.127
Category
Security
Occurrences
127
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: &quot;_fs_text&quot;.122
Category
Maintainability
Occurrences
122
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: &quot;_fs_text&quot;.

WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().121
Category
Maintainability
Occurrences
121
Severity
warning

Sample message

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

Show 15 more
WARNINGSecurityInput is not sanitized118
Category
Security
Occurrences
118
Severity
warning

Sample message

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

WARNINGSecurityInterpolated SQL is not prepared113
Category
Security
Occurrences
113
Severity
warning

Sample message

Use placeholders and $wpdb-&gt;prepare(); found interpolated variable $clicks_table at FROM $clicks_table\r\n

ERRORSecuritySQL query is not prepared72
Category
Security
Occurrences
72
Severity
error

Sample message

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

ERRORMaintainabilitydate date71
Category
Maintainability
Occurrences
71
Severity
error

Sample message

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

WARNINGMaintainabilityNon-prefixed class57
Category
Maintainability
Occurrences
57
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: &quot;FS_Admin_Menu_Manager&quot;.

WARNINGMaintainabilityNon-prefixed constant32
Category
Maintainability
Occurrences
32
Severity
warning

Sample message

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

WARNINGMaintainabilityerror log error log25
Category
Maintainability
Occurrences
25
Severity
warning

Sample message

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

WARNINGSecurityDatabase parameter is not escaped23
Category
Security
Occurrences
23
Severity
warning

Sample message

Unescaped parameter $activity_table used in $wpdb-&gt;get_results()\n$activity_table assigned unsafely at line 607.

ERRORMaintainabilityNon Enqueued Stylesheet23
Category
Maintainability
Occurrences
23
Severity
error

Sample message

Stylesheets must be registered/enqueued via wp_enqueue_style()

WARNINGMaintainabilityslow db query meta query19
Category
Maintainability
Occurrences
19
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

WARNINGMaintainabilityNon-prefixed hook name14
Category
Maintainability
Occurrences
14
Severity
warning

Sample message

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

WARNINGSecurityReplacements Wrong Number12
Category
Security
Occurrences
12
Severity
warning

Sample message

Incorrect number of replacements passed to $wpdb-&gt;prepare(). Found 1 replacement parameters, expected 2.

ERRORI18nText Domain Mismatch12
Category
I18n
Occurrences
12
Severity
error

Sample message

Mismatched text domain. Expected 'woo-coupon-usage' but got 'woo two-coupon-usage'.

ERRORMaintainabilitystrip tags strip tags10
Category
Maintainability
Occurrences
10
Severity
error

Sample message

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

WARNINGMaintainabilityMissing Version10
Category
Maintainability
Occurrences
10
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.

External Connections

Not analyzed yet.

Score History

First score snapshot

v7.8.2

24

Latest

Findings
4,096
Errors
1,022
Warnings
3,074
Check
2.0.0

Relationship Map

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

29 nodes

Related Plugins