Coupon Creator

Create coupons to display on your site by using a shortcode.

v3.5.0BrianUpdated Added 1k+ installs86% rating
25
Score
698
Errors
412
Warnings
+0
Change

Category Scores

Security0
Repo100
Performance100
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,110 findings

Security

411

11 issue groups

I18n

335

6 issue groups

Maintainability

320

8 issue groups

ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"{$name} cookie cannot be set - headers already sent by {$file} on line {$line}"'.220
Category
Security
Occurrences
220
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"{$name} cookie cannot be set - headers already sent by {$file} on line {$line}"'.

ERRORI18nText Domain MismatchMismatched text domain. Expected 'coupon-creator' but got 'coupon-creator-add-ons'.169
Category
I18n
Occurrences
169
Severity
error

Sample message

Mismatched text domain. Expected 'coupon-creator' but got 'coupon-creator-add-ons'.

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

Sample message

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

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.70
Category
I18n
Occurrences
70
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.

ERRORMaintainabilitydate datedate() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.47
Category
Maintainability
Occurrences
47
Severity
error

Sample message

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

WARNINGSecurityMissing Unslash$_GET['_wpnonce'] not unslashed before sanitization. Use wp_unslash() or similar47
Category
Security
Occurrences
47
Severity
warning

Sample message

$_GET['_wpnonce'] not unslashed before sanitization. Use wp_unslash() or similar

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

Sample message

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

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_COOKIE[$this->cookie_name]41
Category
Security
Occurrences
41
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_COOKIE[$this->cookie_name]

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

Sample message

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

ERRORI18nMissing Arg DomainMissing $domain parameter in function call to __().33
Category
I18n
Occurrences
33
Severity
error

Sample message

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

Show 15 more
WARNINGMaintainabilityDirect Query31
Category
Maintainability
Occurrences
31
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching30
Category
Maintainability
Occurrences
30
Severity
warning

Sample message

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

WARNINGSecurityRecommended30
Category
Security
Occurrences
30
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput Not Validated21
Category
Security
Occurrences
21
Severity
warning

Sample message

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

WARNINGMaintainabilityDynamic Hookname Found18
Category
Maintainability
Occurrences
18
Severity
warning

Sample message

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

WARNINGSecurityMissing13
Category
Security
Occurrences
13
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORSecurityUnescaped DBParameter9
Category
Security
Occurrences
9
Severity
error

Sample message

Unescaped parameter $alter_table used in $wpdb->query()\n$alter_table used without escaping.

ERRORSecurityNot Prepared9
Category
Security
Occurrences
9
Severity
error

Sample message

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

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: "edd_sl_api_request_verify_ssl".

ERRORSecurityException Not Escaped8
Category
Security
Occurrences
8
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Class {$class} should override the `action` method to define its own unique identifier."'.

ERRORI18nNo Empty Strings8
Category
I18n
Occurrences
8
Severity
error

Sample message

The $text text string should have translatable content. Found: '%s'

ERRORI18nUnordered Placeholders Text8
Category
I18n
Occurrences
8
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$1s, %2$2s", but got "%1s, %2s" in '%1s - %2s'.

ERRORSecurityUnsafe Printing Function7
Category
Security
Occurrences
7
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 Prepared6
Category
Security
Occurrences
6
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $stati at \t\t\t\tAND post_status IN $stati\n

ERRORMaintainabilityparse url parse url3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.

Score History

First score snapshot

v3.5.0

25

Latest

Findings
1,110
Errors
698
Warnings
412
Check
2.0.0

Related Plugins