WooCommerce discount rules plugin to create automatic product and cart discounts, bulk pricing, BOGO deals, and dynamic pricing without coupon codes.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
41
4 issue groups
Maintainability
15
3 issue groups
I18n
1
1 issue group
Repo Compliance
1
1 issue group
WARNINGSecurityRequest data is not unslashed$_GET['page'] not unslashed before sanitization. Use wp_unslash() or similar25
- Category
- Security
- Occurrences
- 25
- Severity
- warning
Sample message
$_GET['page'] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGMaintainabilityDynamic hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$this->client->getSlug() . '_extra_uninstall_reasons'".13
- Category
- Maintainability
- Occurrences
- 13
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$this->client->getSlug() . '_extra_uninstall_reasons'".
WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.9
- Category
- Security
- Occurrences
- 9
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.6
- Category
- Security
- Occurrences
- 6
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGI18nDiscouraged text-domain loadingload_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.1
- 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.
WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$requirements".1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$requirements".
WARNINGSecuritywp redirect wp redirectwp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" 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.1
- Category
- Security
- Occurrences
- 1
- Severity
- warning
Sample message
wp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" 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.
WARNINGMaintainabilitymismatched plugin namePlugin name "Discount Rules for WooCommerce – Disco | Dynamic Pricing, Conditions, Bulk, Bundle, BOGO" is different from the name declared in plugin header "Disco".1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Plugin name "Discount Rules for WooCommerce – Disco | Dynamic Pricing, Conditions, Bulk, Bundle, BOGO" is different from the name declared in plugin header "Disco".
WARNINGRepo Compliancereadme parser warnings trimmed section descriptionThe "Description" section is too long and was truncated. A maximum of 2500 characters is supported.1
- Category
- Repo Compliance
- Occurrences
- 1
- Severity
- warning
Sample message
The "Description" section is too long and was truncated. A maximum of 2500 characters is supported.
External Connections
Potential connections found in static code analysis.
Outbound calls
291
External assets
0
Incoming endpoints
9
Notable Domains
Platform / Reference Domains
External Asset Domains
No external asset domains detected.
Incoming Endpoints
wp_ajax
Admin AJAX endpoints8
wp_ajax
wp_ajax
wp_ajax
wp_ajax
wp_ajax
wp_ajax
wp_ajax
wp_ajax
Score History
3 score snapshots
v1.3.52
60
Latest
- Findings
- 58
- Errors
- 0
- Warnings
- 58
- Check
- 2.0.0
v1.3.51
60
Score
- Findings
- 58
- Errors
- 0
- Warnings
- 58
- Check
- 2.0.0
v1.3.50
60
Score
- Findings
- 58
- Errors
- 0
- Warnings
- 58
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 60 | 58 | 0 | 58 | v1.3.52 | 2.0.0 |
| 60 | 58 | 0 | 58 | v1.3.51 | 2.0.0 | |
| 60 | 58 | 0 | 58 | v1.3.50 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.