Wholesale Suite – B2B, Dynamic Pricing & WooCommerce Wholesale Prices

WooCommerce wholesale plugin for serving wholesale & B2B customers. Adds wholesale pricing, user roles, dynamic pricing & more.

v2.2.8Josh KohlbachUpdated Added 20k+ installs96% rating100% support resolved
35
Score
22
Errors
52
Warnings
+0
Change

Category Scores

Security58
Repo81
Performance100
Maintainability67

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

74 findings

Maintainability

48

12 issue groups

Security

13

4 issue groups

I18n

10

2 issue groups

Supply Chain

2

1 issue group

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.9
Category
Maintainability
Occurrences
9
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().9
Category
Maintainability
Occurrences
9
Severity
warning

Sample message

Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().

WARNINGMaintainabilityslow db query meta queryDetected usage of meta_query, possible slow query.7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_GET['_wpnonce']6
Category
Security
Occurrences
6
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET['_wpnonce']

ERRORI18nText Domain MismatchMismatched text domain. Expected 'woocommerce-wholesale-prices' but got 'woocomerce-wholesale-prices'.6
Category
I18n
Occurrences
6
Severity
error

Sample message

Mismatched text domain. Expected 'woocommerce-wholesale-prices' but got 'woocomerce-wholesale-prices'.

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

Sample message

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

WARNINGMaintainabilityslow db query meta keyDetected usage of meta_key, possible slow query.4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

WARNINGMaintainabilityslow db query meta valueDetected usage of meta_value, possible slow query.4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Detected usage of meta_value, possible slow query.

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

Sample message

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

WARNINGSecurityMissing Unslash$_GET['_wpnonce'] not unslashed before sanitization. Use wp_unslash() or similar3
Category
Security
Occurrences
3
Severity
warning

Sample message

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

Show 10 more
WARNINGMaintainabilitytrademarked term3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "Wholesale Suite – B2B, Dynamic Pricing & WooCommerce Wholesale Prices" - contains the restricted term "woocommerce" which cannot be used within in your plugin name, unless your plugin name contains one of the allowed patterns: "for woocommerce", "with woocommerce", "using woocommerce", or "and woocommerce". The term must still not appear anywhere else in your name.

WARNINGSecurityUnescaped DBParameter2
Category
Security
Occurrences
2
Severity
warning

Sample message

Unescaped parameter $sql_func used in $wpdb->get_var()\n$sql_func assigned unsafely at line 2216.

WARNINGMaintainabilityslow db query tax query2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Detected usage of tax_query, possible slow query.

WARNINGSecurityInput Not Validated2
Category
Security
Occurrences
2
Severity
warning

Sample message

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

ERRORMaintainabilityfive star reviews detected2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Linking directly to 5 stars reviews is not allowed.

ERRORSupply Chainhidden files2
Category
Supply Chain
Occurrences
2
Severity
error

Sample message

Hidden files are not permitted.

ERRORMaintainabilityNot Allowed1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Use of heredoc syntax (<<<) is not allowed; use standard strings or inline HTML instead

ERRORMaintainabilitybadly named files1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

File and folder names must not contain spaces or special characters.

WARNINGMaintainabilitymismatched plugin name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "Wholesale Suite – B2B, Dynamic Pricing & WooCommerce Wholesale Prices" is different from the name declared in plugin header "WooCommerce Wholesale Prices".

ERRORRepo Complianceplugin header no license1
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.

Score History

First score snapshot

v2.2.8

35

Latest

Findings
74
Errors
22
Warnings
52
Check
2.0.0

Related Plugins

Woo Store Vacation

10k+ active installs

99
Lead Forensics

5k+ active installs

92
Leadinfo

7k+ active installs

80
Discount Rules for WooCommerce

100k+ active installs

71
ELEX WooCommerce Catalog Mode

10k+ active installs

61