WC Variations Radio Buttons

Variations Radio Buttons for WooCommerce. Let your customers choose product variations using radio buttons instead of dropdowns.

v2.1.1mantishUpdated Added 3k+ installs86% rating
69
Score
12
Errors
21
Warnings
+0
Change

Category Scores

Security50
Repo89
Performance100
Maintainability90

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

33 findings

Maintainability

17

5 issue groups

Security

11

4 issue groups

I18n

3

1 issue group

Repo Compliance

2

2 issue groups

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attribute_keys".11
Category
Maintainability
Occurrences
11
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attribute_keys".

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

Sample message

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

ERRORI18nText Domain MismatchMismatched text domain. Expected 'wc-variations-radio-buttons' but got 'woocommerce'.3
Category
I18n
Occurrences
3
Severity
error

Sample message

Mismatched text domain. Expected 'wc-variations-radio-buttons' but got 'woocommerce'.

WARNINGMaintainabilitytrademarked termThe plugin name includes a restricted term. Your chosen plugin name - "WC Variations Radio Buttons" - contains the restricted term "wc" which cannot be used at all in your plugin name.3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "WC Variations Radio Buttons" - contains the restricted term "wc" which cannot be used at all in your plugin name.

WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.2
Category
Security
Occurrences
2
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityNon-prefixed classClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "WC_Radio_Buttons".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "WC_Radio_Buttons".

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "print_attribute_radio".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "print_attribute_radio".

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_REQUEST['attribute_' . $sanitized_name]1
Category
Security
Occurrences
1
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_REQUEST['attribute_' . $sanitized_name]

WARNINGSecurityRequest data is not unslashed$_REQUEST['attribute_' . $sanitized_name] not unslashed before sanitization. Use wp_unslash() or similar1
Category
Security
Occurrences
1
Severity
warning

Sample message

$_REQUEST['attribute_' . $sanitized_name] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGMaintainabilityNot In FooterIn footer ($in_footer) is not set explicitly wp_register_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.1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

In footer ($in_footer) is not set explicitly wp_register_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.

Show 2 more
ERRORRepo Complianceoutdated tested upto header1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Tested up to: 6.7 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.

ERRORRepo Compliancereadme invalid donate link1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

The "Donate link" header in the readme file must be a valid URL.

Score History

First score snapshot

v2.1.1

69

Latest

Findings
33
Errors
12
Warnings
21
Check
2.0.0

Related Plugins