YaySwatches – Variation Swatches for WooCommerce

Your products deserve options that stand out. 🎨✨

v2.0.3YayCommerceUpdated Added 1k+ installs100% rating
68
Score
281
Errors
14
Warnings
+0
Change

Category Scores

Security54
Repo80
Performance100
Maintainability83

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

295 findings

I18n

266

3 issue groups

Security

16

2 issue groups

Maintainability

9

3 issue groups

Repo Compliance

4

4 issue groups

ERRORI18nText Domain MismatchMismatched text domain. Expected 'yayswatches' but got 'filebird'.264
Category
I18n
Occurrences
264
Severity
error

Sample message

Mismatched text domain. Expected 'yayswatches' but got 'filebird'.

WARNINGSecurityRequest data is not unslashed$_POST['_wpnonce'] not unslashed before sanitization. Use wp_unslash() or similar10
Category
Security
Occurrences
10
Severity
warning

Sample message

$_POST['_wpnonce'] not unslashed before sanitization. Use wp_unslash() or similar

ERRORMaintainabilitywp function not compatible with requires wpFunction "determine_locale()" requires WordPress 5.0.0, but your plugin minimum supported version is WordPress 4.7.0.7
Category
Maintainability
Occurrences
7
Severity
error

Sample message

Function "determine_locale()" requires WordPress 5.0.0, but your plugin minimum supported version is WordPress 4.7.0.

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$show_clear_button'.6
Category
Security
Occurrences
6
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$show_clear_button'.

WARNINGI18nDiscouraged text-domain loadingload_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.1
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.

WARNINGMaintainabilityslow db query tax queryDetected usage of tax_query, possible slow query.1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Detected usage of tax_query, possible slow query.

ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;

ERRORRepo Complianceplugin header no licenseMissing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.

ERRORRepo Compliancereadme mismatched header requiresMismatched Requires at least: 4.0 != 4.7. "Requires at least" needs to be exactly the same with that in your main plugin file's header.1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Mismatched Requires at least: 4.0 != 4.7. "Requires at least" needs to be exactly the same with that in your main plugin file's header.

ERRORRepo Compliancereadme mismatched header requires phpMismatched Requires PHP: 5.3 != 5.4. "Requires PHP" needs to be exactly the same with that in your main plugin file's header.1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Mismatched Requires PHP: 5.3 != 5.4. "Requires PHP" needs to be exactly the same with that in your main plugin file's header.

Show 2 more
WARNINGRepo Compliancereadme parser warnings no short description present1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

The "Short Description" section is missing. An excerpt was generated from your main plugin description.

WARNINGI18ntextdomain mismatch1
Category
I18n
Occurrences
1
Severity
warning

Sample message

The "Text Domain" header in the plugin file does not match the slug. Found "yay-swatches", expected "yayswatches".

External Connections

Potential connections found in static code analysis.

12 domains

Outbound calls

76

External assets

0

Incoming endpoints

5

Notable Domains

yaycommerce.com11 · outbound
empty.invalid1 · outbound
radix-ui.com1 · outbound
tailwindcss.com1 · outbound
woocommerce.com1 · outbound

Platform / Reference Domains

downloads.wordpress.org19 · platform/reference
ps.w.org19 · platform/reference
w3.org15 · platform/reference
wordpress.org4 · platform/reference
opensource.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

wp_ajax_nopriv_get_available_variationpublic

wp_ajax

Admin AJAX endpoints4
wp_ajax_get_available_variationauthenticated

wp_ajax

wp_ajax_yay_recommended_activate_pluginauthenticated

wp_ajax

wp_ajax_yay_recommended_get_plugin_dataauthenticated

wp_ajax

wp_ajax_yay_recommended_upgrade_pluginauthenticated

wp_ajax

Score History

First score snapshot

v2.0.3

68

Latest

Findings
295
Errors
281
Warnings
14
Check
2.0.0

Relationship Map

Author, categories, issues, domains, and nearby plugins.

36 nodes

Related Plugins