Showcase variations and impress your customers with beautiful swatches such as color, button, image, and more.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Maintainability
110
7 issue groups
Security
27
3 issue groups
I18n
7
3 issue groups
WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attr_item_color_name".63
- Category
- Maintainability
- Occurrences
- 63
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attr_item_color_name".
WARNINGSecurityMissing Unslash$_GET['edit'] not unslashed before sanitization. Use wp_unslash() or similar19
- Category
- Security
- Occurrences
- 19
- Severity
- warning
Sample message
$_GET['edit'] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGMaintainabilityNon Prefixed Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'vi_woo_product_variation_swatches_filter_color-' . $color".18
- Category
- Maintainability
- Occurrences
- 18
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'vi_woo_product_variation_swatches_filter_color-' . $color".
WARNINGMaintainabilityNon Prefixed Constant FoundGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "VI_WOO_PRODUCT_VARIATIONS_SWATCHES_ADMIN".13
- Category
- Maintainability
- Occurrences
- 13
- Severity
- warning
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "VI_WOO_PRODUCT_VARIATIONS_SWATCHES_ADMIN".
WARNINGMaintainabilityNon Prefixed Class FoundClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "VI_WOO_PRODUCT_VARIATIONS_SWATCHES".11
- Category
- Maintainability
- Occurrences
- 11
- Severity
- warning
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "VI_WOO_PRODUCT_VARIATIONS_SWATCHES".
WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_POST[$item]5
- Category
- Security
- Occurrences
- 5
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_POST[$item]
ERRORI18nText Domain MismatchMismatched text domain. Expected 'product-variations-swatches-for-woocommerce' but got 'sales-countdown-timer'.5
- Category
- I18n
- Occurrences
- 5
- Severity
- error
Sample message
Mismatched text domain. Expected 'product-variations-swatches-for-woocommerce' but got 'sales-countdown-timer'.
WARNINGSecurityMissingProcessing form data without nonce verification.3
- Category
- Security
- Occurrences
- 3
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGMaintainabilityNon Prefixed Function FoundFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "vi_include_folder".2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "vi_include_folder".
ERRORMaintainabilitywp function not compatible with requires wpFunction "is_php_version_compatible()" requires WordPress 5.2.0, but your plugin minimum supported version is WordPress 5.0.0.2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- error
Sample message
Function "is_php_version_compatible()" requires WordPress 5.2.0, but your plugin minimum supported version is WordPress 5.0.0.
Show 3 moreShow less
WARNINGI18nload plugin textdomain Found1
- Category
- I18n
- Occurrences
- 1
- Severity
- warning
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.
WARNINGI18nNo Html Wrapped Strings1
- Category
- I18n
- Occurrences
- 1
- Severity
- warning
Sample message
Translatable string should not be wrapped in HTML. Found: '<p>WooCommerce Product Variations Swatches will work better with:</p>'
ERRORMaintainabilitytrunk stable tag1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
Incorrect Stable Tag. It's recommended not to use "Stable Tag: trunk". Your Stable Tag is meant to be the stable version of your plugin and it needs to be exactly the same with the Version in your main plugin file's header. Any mismatch can prevent users from downloading the correct plugin files from WordPress.org.
Score History
First score snapshot
v1.1.17
67
Latest
- Findings
- 144
- Errors
- 8
- Warnings
- 136
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 67 | 144 | 8 | 136 | v1.1.17 | 2.0.0 |