A powerful WooCommerce dynamic pricing plugin for bulk discounts, free gifts, BOGOs, customer role or groups based deals and much more.
Prioritized issue groups from the latest Plugin Check scan
I18n
61
6 issue groups
Maintainability
39
11 issue groups
Security
31
8 issue groups
Sample message
Mismatched text domain. Expected 'woo-advanced-discounts' but got 'cosh'.
Sample message
Function "has_shortcode()" requires WordPress 3.6.0, but your plugin minimum supported version is WordPress 3.5.0.
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$html'.
Sample message
A function call to esc_html__() 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.
Sample message
Use of a direct database call is discouraged.
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
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.
Sample message
Detected usage of a non-sanitized input variable: $_SESSION['active_discounts']
Sample message
Detected usage of a possibly undefined superglobal array index: $_SESSION['active_discounts']. Check that the array index exists before using it.
Sample message
Unescaped parameter $sql used in $wpdb->get_var()\n$sql assigned unsafely at line 261.
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
The plugin name includes a restricted term. Your chosen plugin name - "Conditional Discounts for WooCommerce - A simple yet complete woocommerce dynamic pricing plugin" - contains the restricted term "plugin" which cannot be used at all in your plugin name.
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable $str at "select distinct id from $wpdb->posts where post_parent in($str) and post_type=%s"
Sample message
Use placeholders and $wpdb->prepare(); found $sql
Sample message
Processing form data without nonce verification.
Sample message
Detected usage of meta_query, possible slow query.
Sample message
Detected usage of tax_query, possible slow query.
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen().
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fread().
Sample message
The $text parameter must not contain interpolated variables or expressions. Found: $total_max_normal
Sample message
Missing $domain parameter in function call to _x().
Sample message
The $text parameter must be a single text string literal. Found: 'Enable/Disable this feature. %1sShortcode %2s[wad_product_pricing_table product_id="' . $product_id . '"]%3s'
Sample message
Too many parameters passed to function "esc_html__()". Expected: 2 parameters, received: 3
Not analyzed yet.
First score snapshot
v2.32.3
37
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 37 | 132 | 99 | 33 | v2.32.3 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.