Advanced Product Labels for WooCommerce

Promote exclusive discounts, new products or free shipping. Create labels easily and quickly!

v3.3.3.7BeRocketUpdated Added 20k+ installs96% rating20% support resolved
23
Score
921
Errors
559
Warnings
+0
Change

Category Scores

Security0
Repo91
Performance94
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,480 findings

Security

576

9 issue groups

I18n

513

4 issue groups

Maintainability

342

12 issue groups

ERRORI18nText Domain MismatchMismatched text domain. Expected 'advanced-product-labels-for-woocommerce' but got "BeRocket_products_label_domain".498
Category
I18n
Occurrences
498
Severity
error

Sample message

Mismatched text domain. Expected 'advanced-product-labels-for-woocommerce' but got "BeRocket_products_label_domain".

ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"&utm_term={$cur_plugin->info['plugin_sku']}' target='_blank'>"'.239
Category
Security
Occurrences
239
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"&utm_term={$cur_plugin->info['plugin_sku']}' target='_blank'>"'.

WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$banner".141
Category
Maintainability
Occurrences
141
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$banner".

WARNINGSecurityMissing Unslash$_GET['brfeature_description'] not unslashed before sanitization. Use wp_unslash() or similar80
Category
Security
Occurrences
80
Severity
warning

Sample message

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

WARNINGSecurityRecommendedProcessing form data without nonce verification.71
Category
Security
Occurrences
71
Severity
warning

Sample message

Processing form data without nonce verification.

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

Sample message

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

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

Sample message

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

WARNINGSecurityMissingProcessing form data without nonce verification.47
Category
Security
Occurrences
47
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'.43
Category
Security
Occurrences
43
Severity
error

Sample message

All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.

ERRORMaintainabilityEcho FoundShort PHP opening tag used with echo; expected "<?php echo $feature ..." but found "<?= $feature ..."24
Category
Maintainability
Occurrences
24
Severity
error

Sample message

Short PHP opening tag used with echo; expected "<?php echo $feature ..." but found "<?= $feature ..."

Show 15 more
WARNINGSecurityInput 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 Function Found20
Category
Maintainability
Occurrences
20
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_script(). This means new versions of the script may not always be loaded due to browser caching.

WARNINGMaintainabilityNon Prefixed Hookname Found16
Category
Maintainability
Occurrences
16
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;bapl_active_libraries&quot;.

WARNINGMaintainabilityDynamic Hookname Found14
Category
Maintainability
Occurrences
14
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;.

WARNINGMaintainabilityNot In Footer14
Category
Maintainability
Occurrences
14
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.

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.

WARNINGMaintainabilityDirect Query6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

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

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 __().

ERRORI18nMissing Translators Comment5
Category
I18n
Occurrences
5
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.

ERRORI18nNon Singular String Literal Text5
Category
I18n
Occurrences
5
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: $feature['label']

WARNINGSecurityUnescaped DBParameter4
Category
Security
Occurrences
4
Severity
warning

Sample message

Unescaped parameter $table_name used in $wpdb-&gt;get_results()\n$table_name assigned unsafely at line 538.

WARNINGSecurityInterpolated Not Prepared4
Category
Security
Occurrences
4
Severity
warning

Sample message

Use placeholders and $wpdb-&gt;prepare(); found interpolated variable {$table_name} at &quot;ALTER TABLE {$table_name} ADD `meta_id` bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY;&quot;

Score History

First score snapshot

v3.3.3.7

23

Latest

Findings
1,480
Errors
921
Warnings
559
Check
2.0.0

Related Plugins