Variation swatches for WooCommerce that turn dropdowns into color, image, and label swatches. Easy WooCommerce color attribute and image attribute set …
Prioritized issue groups from the latest Plugin Check scan
Maintainability
42
10 issue groups
Security
36
5 issue groups
I18n
6
3 issue groups
Repo Compliance
2
2 issue groups
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$dropdown_args'.
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "ATA_WCVS".
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "ATA_WC_Variation_Swatches".
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'wsa_form_bottom_' . $form['id']".
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
Processing form data without nonce verification.
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "ATA_WCVS_FILE".
Sample message
Mismatched text domain. Expected 'variation-swatches-style' but got 'smart-variation-swatches'.
Sample message
Detected usage of a non-sanitized input variable: $_POST['_swatch_type_options']
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
The use of function create_function() is forbidden
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
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
Processing form data without nonce verification.
Sample message
Detected usage of a possibly undefined superglobal array index: $_REQUEST['taxonomy']. Check that the array index exists before using it.
Sample message
The parameter "apply_filters( 'woocommerce_product_attribute_terms', array( 'orderby' => 'name', 'hide_empty' => false ) )" at position #2 of get_terms() has been deprecated since WordPress version 4.5.0. Instead do not pass the parameter.
Sample message
Plugin name "Smart Variation Swatches for WooCommerce – Color & Image Attribute Swatches" is different from the name declared in plugin header "Smart Variation Swatches for WooCommerce".
Sample message
One or more tags were ignored. Please limit your plugin to 5 tags.
Sample message
The "Short Description" section is too long and was truncated. A maximum of 150 characters is supported.
Potential connections found in static code analysis.
Outbound calls
17
External assets
0
Incoming endpoints
0
No external asset domains detected.
No public endpoints detected.
2 score snapshots
v2.0.1
43
Latest
v1.4.0
39
Score
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 43 | 86 | 40 | 46 | v2.0.1 | 2.1.0 |
| 39 | 89 | 39 | 50 | v1.4.0 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.