Turn dropdowns into color, image, and button swatches for WooCommerce Variable Products. No coding needed.
Prioritized issue groups from the latest Plugin Check scan
Maintainability
53
10 issue groups
Security
21
6 issue groups
I18n
2
2 issue groups
Repo Compliance
2
2 issue groups
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$action_url".
Sample message
Processing form data without nonce verification.
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "default_woo_variation_swatches_single_product_dropdown_html".
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
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$upload'.
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "woodmart_has_swatches".
Sample message
$_GET['wc-ajax'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Function "wp_cache_flush_group()" requires WordPress 6.1.0, but your plugin minimum supported version is WordPress 5.9.0.
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.
Sample message
Offloading images, js, css, and other scripts to your servers or any remote service is disallowed.
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "$name".
Sample message
print_r() found. Debug code should not normally be used in production.
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'wc_implode_html_attributes'.
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: $_SERVER['SERVER_SOFTWARE']
Sample message
Mismatched text domain. Expected 'woo-variation-swatches' but got 'default'.
Sample message
Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.
Sample message
Mismatched Requires at least: 6.4 != 5.9. "Requires at least" needs to be exactly the same with that in your main plugin file's header.
Sample message
The plugin slug includes a restricted term. Your plugin slug - "woo-variation-swatches" - 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".
Potential connections found in static code analysis.
Outbound calls
117
External assets
0
Incoming endpoints
0
No external asset domains detected.
No public endpoints detected.
3 score snapshots
v2.5.0
50
Latest
v2.4.0
58
Score
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 50 | 78 | 12 | 66 | v2.5.0 | 2.1.0 |
| 58 | 76 | 11 | 65 | v2.4.0 | 2.1.0 |
Author, categories, issues, domains, and nearby plugins.