B2BKing is the complete solution for running a Wholesale, B2B or B2B + B2C hybrid store with WooCommerce.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
I18n
1,167
4 issue groups
Security
369
8 issue groups
Maintainability
202
13 issue groups
ERRORI18nText Domain MismatchMismatched text domain. Expected 'b2bking-wholesale-for-woocommerce' but got "b2bking".1,119
- Category
- I18n
- Occurrences
- 1,119
- Severity
- error
Sample message
Mismatched text domain. Expected 'b2bking-wholesale-for-woocommerce' but got "b2bking".
ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$active_tab'.117
- Category
- Security
- Occurrences
- 117
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$active_tab'.
WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.69
- Category
- Security
- Occurrences
- 69
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGSecurityRequest data is not unslashed$_COOKIE['b2bking_userid'] not unslashed before sanitization. Use wp_unslash() or similar69
- Category
- Security
- Occurrences
- 69
- Severity
- warning
Sample message
$_COOKIE['b2bking_userid'] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_GET['action']. Check that the array index exists before using it.45
- Category
- Security
- Occurrences
- 45
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_GET['action']. Check that the array index exists before using it.
WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.41
- Category
- Security
- Occurrences
- 41
- Severity
- warning
Sample message
Processing form data without nonce verification.
ERRORMaintainabilitydate datedate() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.33
- Category
- Maintainability
- Occurrences
- 33
- Severity
- error
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$allposts".31
- Category
- Maintainability
- Occurrences
- 31
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$allposts".
WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "admin_notices".29
- Category
- Maintainability
- Occurrences
- 29
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "admin_notices".
WARNINGMaintainabilityslow db query meta queryDetected usage of meta_query, possible slow query.27
- Category
- Maintainability
- Occurrences
- 27
- Severity
- warning
Sample message
Detected usage of meta_query, possible slow query.
Show 15 moreShow less
ERRORI18nMissing Arg Domain24
- Category
- I18n
- Occurrences
- 24
- Severity
- error
Sample message
Missing $domain parameter in function call to __().
WARNINGSecurityInput is not sanitized21
- Category
- Security
- Occurrences
- 21
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_GET['page']
ERRORI18nMissing Translators Comment21
- Category
- I18n
- Occurrences
- 21
- Severity
- error
Sample message
A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
WARNINGMaintainabilityDirect Query16
- Category
- Maintainability
- Occurrences
- 16
- Severity
- warning
Sample message
Use of a direct database call is discouraged.
WARNINGMaintainabilityNo Caching15
- Category
- Maintainability
- Occurrences
- 15
- 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 key12
- Category
- Maintainability
- Occurrences
- 12
- Severity
- warning
Sample message
Detected usage of meta_key, possible slow query.
WARNINGMaintainabilityslow db query meta value10
- Category
- Maintainability
- Occurrences
- 10
- Severity
- warning
Sample message
Detected usage of meta_value, possible slow query.
WARNINGMaintainabilityMissing Version10
- Category
- Maintainability
- Occurrences
- 10
- Severity
- warning
Sample message
Resource version not set in call to wp_enqueue_script(). This means new versions of the script may not always be loaded due to browser caching.
ERRORMaintainabilitycurl curl setopt7
- Category
- Maintainability
- Occurrences
- 7
- Severity
- error
Sample message
Using cURL functions is highly discouraged. Use wp_remote_get() instead.
ERRORSecuritySetting is missing a sanitization callback5
- Category
- Security
- Occurrences
- 5
- Severity
- error
Sample message
Sanitization missing for register_setting().
ERRORMaintainabilityOffloaded Content4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- error
Sample message
Offloading images, js, css, and other scripts to your servers or any remote service is disallowed.
WARNINGMaintainabilityNot In Footer4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- warning
Sample message
In footer ($in_footer) is not set explicitly wp_enqueue_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.
ERRORMaintainabilitywp function not compatible with requires wp4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- error
Sample message
Function "wp_timezone()" requires WordPress 5.3.0, but your plugin minimum supported version is WordPress 4.8.0.
WARNINGI18nDiscouraged text-domain loading3
- Category
- I18n
- Occurrences
- 3
- 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.
ERRORSecuritySQL query is not prepared2
- Category
- Security
- Occurrences
- 2
- Severity
- error
Sample message
Use placeholders and $wpdb->prepare(); found $mysql_query
External Connections
Not analyzed yet.
Score History
First score snapshot
v5.2.30
23
Latest
- Findings
- 1,756
- Errors
- 1,347
- Warnings
- 409
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 23 | 1,756 | 1,347 | 409 | v5.2.30 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.