Apply WooCommerce Coupons automatically with a fast, lightweight plugin. Set minimum product quantities, apply coupons by URL or automatically.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
123
8 issue groups
I18n
16
2 issue groups
Maintainability
10
6 issue groups
ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"$wac_version $wac_version_type $wac_pro_version"'.56
- Category
- Security
- Occurrences
- 56
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"$wac_version $wac_version_type $wac_pro_version"'.
WARNINGSecurityRequest data is not unslashed$_GET['coupon'] not unslashed before sanitization. Use wp_unslash() or similar31
- Category
- Security
- Occurrences
- 31
- Severity
- warning
Sample message
$_GET['coupon'] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_POST['_wc_max_qty']. Check that the array index exists before using it.14
- Category
- Security
- Occurrences
- 14
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_POST['_wc_max_qty']. Check that the array index exists before using it.
ERRORI18nText Domain MismatchMismatched text domain. Expected 'woo-auto-coupons' but got 'wc-auto-apply'.14
- Category
- I18n
- Occurrences
- 14
- Severity
- error
Sample message
Mismatched text domain. Expected 'woo-auto-coupons' but got 'wc-auto-apply'.
WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_POST['wac_coupon_nonce_field']7
- Category
- Security
- Occurrences
- 7
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_POST['wac_coupon_nonce_field']
WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.6
- Category
- Security
- Occurrences
- 6
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.5
- Category
- Security
- Occurrences
- 5
- Severity
- warning
Sample message
Processing form data without nonce verification.
ERRORMaintainabilitywp function not compatible with requires wpFunction "wp_doing_ajax()" requires WordPress 4.7.0, but your plugin minimum supported version is WordPress 4.6.0.3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- error
Sample message
Function "wp_doing_ajax()" requires WordPress 4.7.0, but your plugin minimum supported version is WordPress 4.6.0.
ERRORSecurityDatabase parameter is not escapedUnescaped parameter $s used in $wpdb->get_results()\n$s assigned unsafely at line 61.2
- Category
- Security
- Occurrences
- 2
- Severity
- error
Sample message
Unescaped parameter $s used in $wpdb->get_results()\n$s assigned unsafely at line 61.
WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Use of a direct database call is discouraged.
Show 6 moreShow less
WARNINGMaintainabilityNo Caching2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
ERRORSecuritySQL query is not prepared2
- Category
- Security
- Occurrences
- 2
- Severity
- error
Sample message
Use placeholders and $wpdb->prepare(); found $s
ERRORI18nNo Empty Strings2
- Category
- I18n
- Occurrences
- 2
- Severity
- error
Sample message
The $text text string should have translatable content. Found: ''
ERRORMaintainabilityOffloaded Content1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
Offloading images, js, css, and other scripts to your servers or any remote service is disallowed.
ERRORMaintainabilityPlugin Directory Write1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
Plugin folders are deleted when upgraded. Do not save data to the plugin folder using file_put_contents(). Detected usage of __FILE__ or __DIR__ magic constant. Use wp_upload_dir() to get the uploads directory path or save to the database instead.
WARNINGMaintainabilitytrademarked term1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
The plugin slug includes a restricted term. Your plugin slug - "woo-auto-coupons" - contains the restricted term "woo" and cannot be used to begin your plugin slug. We disallow the use of certain terms in ways that are abused, or potentially infringe on and/or are misleading with regards to trademarks. You may use the term "woo" elsewhere in your plugin slug, such as "... for woo".
External Connections
Not analyzed yet.
Score History
First score snapshot
v3.0.48
42
Latest
- Findings
- 149
- Errors
- 81
- Warnings
- 68
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 42 | 149 | 81 | 68 | v3.0.48 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.