Affiliate Coupons – Coupon Display Manager – Excellent Tool for Affiliate Marketers

Helps you to earn more affiliate money!

v1.8.5DeetronixUpdated Added 1k+ installs90% rating
32
Score
183
Errors
61
Warnings
+0
Change

Category Scores

Security0
Repo94
Performance100
Maintainability40

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

244 findings

Security

129

6 issue groups

Maintainability

87

16 issue groups

I18n

24

3 issue groups

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<h2 class='title'>{$section['title']}</h2>\n"'.76
Category
Security
Occurrences
76
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<h2 class='title'>{$section['title']}</h2>\n"'.

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

Sample message

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

ERRORMaintainabilitywp function not compatible with requires wpFunction "__return_null()" requires WordPress 3.4.0, but your plugin minimum supported version is WordPress 3.0.1.24
Category
Maintainability
Occurrences
24
Severity
error

Sample message

Function "__return_null()" requires WordPress 3.4.0, but your plugin minimum supported version is WordPress 3.0.1.

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$args&quot;.15
Category
Maintainability
Occurrences
15
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$args&quot;.

ERRORMaintainabilitystrip tags strip tagsstrip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.15
Category
Maintainability
Occurrences
15
Severity
error

Sample message

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

ERRORI18nText Domain MismatchMismatched text domain. Expected 'affiliate-coupons' but got 'affiliate-coupon'.13
Category
I18n
Occurrences
13
Severity
error

Sample message

Mismatched text domain. Expected 'affiliate-coupons' but got 'affiliate-coupon'.

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.10
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.

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET[&#039;affcoups_admin_notice&#039;]9
Category
Security
Occurrences
9
Severity
warning

Sample message

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

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

Sample message

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

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

Sample message

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

Show 15 more
WARNINGMaintainabilityupgrade notice limit6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

The upgrade notice for "Version 1.1.0 (2nd June 2017)" exceeds the limit of 300 characters.

WARNINGMaintainabilityslow db query meta key5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

WARNINGSecurityNonce verification recommended4
Category
Security
Occurrences
4
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput is not validated3
Category
Security
Occurrences
3
Severity
warning

Sample message

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

ERRORMaintainabilityfive star reviews detected3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

Linking directly to 5 stars reviews is not allowed.

WARNINGMaintainabilityNon-prefixed function2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed hook name2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

ERRORMaintainabilityfile system operations fclose2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

ERRORMaintainabilityfile system operations fopen2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

WARNINGI18nDiscouraged text-domain loading1
Category
I18n
Occurrences
1
Severity
warning

Sample message

load_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.

WARNINGMaintainabilityslow db query meta query1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

WARNINGMaintainabilityslow db query tax query1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Detected usage of tax_query, possible slow query.

ERRORMaintainabilitydate date1
Category
Maintainability
Occurrences
1
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 class1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

ERRORMaintainabilityDeprecated function: wp_get_sites1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

wp_get_sites() has been deprecated since WordPress version 4.6.0. Use get_sites() instead.

External Connections

Not analyzed yet.

Score History

First score snapshot

v1.8.5

32

Latest

Findings
244
Errors
183
Warnings
61
Check
2.0.0

Relationship Map

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

27 nodes

Related Plugins