Brands for WooCommerce plugin allows you to add brands for products in your shop.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
643
8 issue groups
Maintainability
425
14 issue groups
I18n
350
3 issue groups
ERRORI18nText Domain MismatchMismatched text domain. Expected 'brands-for-woocommerce' but got 'BeRocket_domain'.338
- Category
- I18n
- Occurrences
- 338
- Severity
- error
Sample message
Mismatched text domain. Expected 'brands-for-woocommerce' but got 'BeRocket_domain'.
ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"$brand_image $brand_name"'.277
- Category
- Security
- Occurrences
- 277
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"$brand_image $brand_name"'.
WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$additional_class".197
- Category
- Maintainability
- Occurrences
- 197
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$additional_class".
WARNINGSecurityRequest data is not unslashed$_GET['brfeature_description'] not unslashed before sanitization. Use wp_unslash() or similar88
- Category
- Security
- Occurrences
- 88
- Severity
- warning
Sample message
$_GET['brfeature_description'] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.78
- Category
- Security
- Occurrences
- 78
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET['brfeature_description']73
- Category
- Security
- Occurrences
- 73
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_GET['brfeature_description']
ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;65
- Category
- Maintainability
- Occurrences
- 65
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.56
- Category
- Security
- Occurrences
- 56
- Severity
- warning
Sample message
Processing form data without nonce verification.
ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.41
- Category
- Security
- Occurrences
- 41
- Severity
- error
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "br_brands_options_to_update".29
- Category
- Maintainability
- Occurrences
- 29
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "br_brands_options_to_update".
Show 15 moreShow less
ERRORMaintainabilityShort PHP open tag found24
- Category
- Maintainability
- Occurrences
- 24
- Severity
- error
Sample message
Short PHP opening tag used with echo; expected "<?php echo $feature ..." but found "<?= $feature ..."
WARNINGSecurityInput is not validated24
- Category
- Security
- Occurrences
- 24
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_GET['backup']. Check that the array index exists before using it.
WARNINGMaintainabilityNon-prefixed function23
- Category
- Maintainability
- Occurrences
- 23
- Severity
- warning
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "BR_woocommerce_json_search_found_products".
WARNINGMaintainabilityMissing Version19
- Category
- Maintainability
- Occurrences
- 19
- Severity
- warning
Sample message
Resource version not set in call to wp_enqueue_style(). This means new versions of the style may not always be loaded due to browser caching.
WARNINGMaintainabilityDynamic hook name13
- Category
- Maintainability
- Occurrences
- 13
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$hook_name . '_check_type_' . $condition['type']".
WARNINGMaintainabilityNon-prefixed class13
- Category
- Maintainability
- Occurrences
- 13
- Severity
- warning
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "BAPF_tutorial_tab".
ERRORMaintainabilityOffloaded Content10
- Category
- Maintainability
- Occurrences
- 10
- Severity
- error
Sample message
Offloading images, js, css, and other scripts to your servers or any remote service is disallowed.
WARNINGMaintainabilityNot In Footer10
- Category
- Maintainability
- Occurrences
- 10
- 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.
WARNINGMaintainabilityNo PHP code found9
- Category
- Maintainability
- Occurrences
- 9
- Severity
- warning
Sample message
No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.
ERRORI18nNon Singular String Literal Text7
- Category
- I18n
- Occurrences
- 7
- Severity
- error
Sample message
The $text parameter must be a single text string literal. Found: $feature['label']
WARNINGSecurityInterpolated SQL is not prepared6
- Category
- Security
- Occurrences
- 6
- Severity
- warning
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable $orderby at "{$query['select']} {$query['from']} {$query['where']} {$query['group']} $orderby {$query['limit']}"
ERRORMaintainabilitydate date5
- Category
- Maintainability
- Occurrences
- 5
- Severity
- error
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
ERRORI18nMissing Arg Domain5
- Category
- I18n
- Occurrences
- 5
- Severity
- error
Sample message
Missing $domain parameter in function call to __().
WARNINGMaintainabilityslow db query meta key4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- warning
Sample message
Detected usage of meta_key, possible slow query.
WARNINGMaintainabilityslow db query tax query4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- warning
Sample message
Detected usage of tax_query, possible slow query.
External Connections
Not analyzed yet.
Score History
First score snapshot
v3.8.7.1
24
Latest
- Findings
- 1,472
- Errors
- 798
- Warnings
- 674
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 24 | 1,472 | 798 | 674 | v3.8.7.1 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.