Simple Discount Rules for Woocommerce allows administrator to add and remove discount to products based on Category.
Prioritized issue groups from the latest Plugin Check scan
Security
270
11 issue groups
Maintainability
79
12 issue groups
I18n
36
1 issue group
Repo Compliance
1
1 issue group
Sample message
Processing form data without nonce verification.
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" data-wp-lists='list:$singular'"'.
Sample message
Use placeholders and $wpdb->prepare(); found $discount
Sample message
Missing $domain parameter in function call to __().
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable $cart_rule_table at LEFT JOIN $cart_rule_table cr ON d.id = cr.discount_id \n
Sample message
$_GET['id'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Detected usage of a non-sanitized input variable: $_GET['orderby']
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
Sample message
Unescaped parameter $table used in $wpdb->get_col()\n$table assigned unsafely at line 223.
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "bulk_actions-{$this->screen->id}".
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
Detected usage of a possibly undefined superglobal array index: $_GET['action']. Check that the array index exists before using it.
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
Attempting a database schema change is discouraged.
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
Sample message
Function "wp_trigger_error()" requires WordPress 6.4.0, but your plugin minimum supported version is WordPress 6.0.0.
Sample message
Unescaped parameter $extra_checks used in $wpdb->get_results()\n$extra_checks assigned unsafely at line 733.
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "activate_wpcd_category_discount".
Sample message
No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.
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 tax_query, possible slow query.
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "{$option}".
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "QuanticEdge_Updater".
Sample message
Tested up to: 6.8 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.
Not analyzed yet.
First score snapshot
v5.16
34
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 34 | 389 | 175 | 214 | v5.16 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.