Create buy one get one free or buy X get Y Free, BOGO discount rule of product in WooCommerce
Prioritized issue groups from the latest Plugin Check scan
I18n
76
2 issue groups
Security
71
8 issue groups
Maintainability
28
6 issue groups
Repo Compliance
1
1 issue group
Sample message
Mismatched text domain. Expected 'buy-one-get-one-free' but got "buy-one-get-one-free-woocommerce".
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$class'.
Sample message
Processing form data without nonce verification.
Sample message
Function "sanitize_textarea_field()" requires WordPress 4.7.0, but your plugin minimum supported version is WordPress 3.0.1.
Sample message
$_GET['_wpnonce'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Sanitization missing for register_setting().
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$this->plugin_name.'_promotion'".
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "activate_buy_one_get_one_free_woocommerce".
Sample message
Detected usage of a non-sanitized input variable: $_GET['_wpnonce']
Sample message
Resource version not set in call to wp_enqueue_style(). This means new versions of the style may not always be loaded due to browser caching.
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 possibly undefined superglobal array index: $_GET['page']. Check that the array index exists before using it.
Sample message
Processing form data without nonce verification.
Sample message
The parameter "array(\r\n\t\t\t'hierarchical' => false,\r\n\t\t\t'hide_empty' => false,\r\n\t\t\t'parent' => $parent,\r\n )" at position #2 of get_terms() has been deprecated since WordPress version 4.5.0. Instead do not pass the parameter.
Sample message
In footer ($in_footer) is not set explicitly wp_register_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.
Sample message
One or more tags were ignored. Please limit your plugin to 5 tags.
Sample message
The "Text Domain" header in the plugin file does not match the slug. Found "buy-one-get-one-free-woocommerce", expected "buy-one-get-one-free".
Potential connections found in static code analysis.
Outbound calls
33
External assets
0
Incoming endpoints
4
No external asset domains detected.
No public endpoints detected.
admin_post
admin_post
wp_ajax
wp_ajax
First score snapshot
v1.11.17
40
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 40 | 176 | 119 | 57 | v1.11.17 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.