Brands for WooCommerce

Brands for WooCommerce plugin allows you to add brands for products in your shop.

v3.8.7.1BeRocketUpdated Added 6k+ installs96% rating50% support resolved
24
Score
798
Errors
674
Warnings
+0
Change

Category Scores

Security0
Repo94
Performance97
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,472 findings

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 more
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[&#039;backup&#039;]. 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: &quot;BR_woocommerce_json_search_found_products&quot;.

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: &quot;$hook_name . &#039;_check_type_&#039; . $condition[&#039;type&#039;]&quot;.

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: &quot;BAPF_tutorial_tab&quot;.

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-&gt;prepare(); found interpolated variable $orderby at &quot;{$query[&#039;select&#039;]} {$query[&#039;from&#039;]} {$query[&#039;where&#039;]} {$query[&#039;group&#039;]} $orderby {$query[&#039;limit&#039;]}&quot;

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

Relationship Map

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

29 nodes

Related Plugins

Category Icon

2k+ active installs

100
Crypto Converter ⚡ Widget

1k+ active installs

100
Essential Content Types

20k+ active installs

100
Exchange Rates Widget

1k+ active installs

100
Shortcode Widget

10k+ active installs

100