Variation Swatches for WooCommerce plugin will replace default swatches to professionally styled and colourful swatches.
Prioritized issue groups from the latest Plugin Check scan
Security
60
7 issue groups
Maintainability
42
13 issue groups
I18n
6
4 issue groups
Repo Compliance
1
1 issue group
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$custom_attributes'.
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "after_thvs_settings".
Sample message
Processing form data without nonce verification.
Sample message
$_GET['th-tab'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "admin_scripts".
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$getUrlTab".
Sample message
Processing form data without nonce verification.
Sample message
Detected usage of a non-sanitized input variable: $_GET['th-tab']
Sample message
In footer ($in_footer) is not set explicitly wp_enqueue_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
A function call to __() 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
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "THEMEHUNK_PDIR".
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "sprintf( 'delete_%s_settings', $this->settings_name )".
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "themehunk_plugin_option".
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: $_REQUEST['nonce']. Check that the array index exists before using it.
Sample message
The parameter "apply_filters( 'woocommerce_product_attribute_terms', $args )" at position #2 of get_terms() has been deprecated since WordPress version 4.5.0. Instead do not pass the parameter.
Sample message
Translatable string should not be wrapped in HTML. Found: '<span style="color: red">Attribute image size changed by <code>thvs_product_attribute_image_size</code> hook. So this option will not apply any effect.</span>'
Sample message
The $text parameter must be a single text string literal. Found: sprintf( 'Choose attribute image size. <a target="_blank" href="%s">Media Settings</a>', esc_url( admin_url( 'options-media.php' ) ) )
Sample message
Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in 'Disabled attribute will be hide / blur. %sNote: Disable ajax threshold doesn\'t apply this feature.%s'.
Sample message
Plugin name "Variation Swatches for WooCommerce" is different from the name declared in plugin header "TH Variation Swatches".
Sample message
Mismatched Requires at least: 5.8 != 4.8. "Requires at least" needs to be exactly the same with that in your main plugin file's header.
Sample message
The upgrade notice for "1.3.5" exceeds the limit of 300 characters.
Potential connections found in static code analysis.
Outbound calls
51
External assets
0
Incoming endpoints
2
No external asset domains detected.
No public endpoints detected.
wp_ajax
wp_ajax
3 score snapshots
v1.4.3
38
Latest
v1.4.2
38
Score
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 38 | 110 | 45 | 65 | v1.4.3 | 2.0.0 |
| 38 | 110 | 45 | 65 | v1.4.2 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.