Unit Price for WooCommerce

WooCommerce plugin for configuring products which are sold by units but priced by weight.

v1.2.6CondlessUpdated Added 1k+ installs96% rating
44
Score
112
Errors
63
Warnings
+0
Change

Category Scores

Security0
Repo100
Performance100
Maintainability95

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

175 findings

Security

127

5 issue groups

I18n

48

3 issue groups

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

Sample message

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

WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.39
Category
Security
Occurrences
39
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORI18nText Domain MismatchMismatched text domain. Expected 'unit-price-for-woocommerce' but got 'measurement-price-calculator'.34
Category
I18n
Occurrences
34
Severity
error

Sample message

Mismatched text domain. Expected 'unit-price-for-woocommerce' but got 'measurement-price-calculator'.

ERRORI18nMissing Arg DomainMissing $domain parameter in function call to __().13
Category
I18n
Occurrences
13
Severity
error

Sample message

Missing $domain parameter in function call to __().

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_POST['_upw_measurement']9
Category
Security
Occurrences
9
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST['_upw_measurement']

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_POST['product_id']. Check that the array index exists before using it.7
Category
Security
Occurrences
7
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_POST['product_id']. Check that the array index exists before using it.

WARNINGSecurityRequest data is not unslashed$_POST['product_id'] not unslashed before sanitization. Use wp_unslash() or similar7
Category
Security
Occurrences
7
Severity
warning

Sample message

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

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.

External Connections

Potential connections found in static code analysis.

2 domains

Outbound calls

4

External assets

0

Incoming endpoints

6

Notable Domains

en.condless.com3 · outbound

Platform / Reference Domains

gnu.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

wp_ajax_nopriv_wc_ajax_add_to_cartpublic

wp_ajax

wp_ajax_nopriv_wc_set_item_quantitypublic

wp_ajax

wp_ajax_nopriv_wc_variable_set_item_quantitypublic

wp_ajax

Admin AJAX endpoints3
wp_ajax_wc_ajax_add_to_cartauthenticated

wp_ajax

wp_ajax_wc_set_item_quantityauthenticated

wp_ajax

wp_ajax_wc_variable_set_item_quantityauthenticated

wp_ajax

Score History

First score snapshot

v1.2.6

44

Latest

Findings
175
Errors
112
Warnings
63
Check
2.0.0

Relationship Map

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

27 nodes

Related Plugins