Products Suggestions for WooCommerce

Products Suggestions for WooCommerce – promote additional products to your customers.

v3.6.2.8BeRocketUpdated Added 700 installs100% rating
23
Score
718
Errors
502
Warnings
+0
Change

Category Scores

Security0
Repo91
Performance98
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,220 findings

Security

579

7 issue groups

Maintainability

348

14 issue groups

I18n

265

4 issue groups

ERRORSecurityOutput is 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'>"'.276
Category
Security
Occurrences
276
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'>"'.

ERRORI18nText Domain MismatchMismatched text domain. Expected 'cart-products-suggestions-for-woocommerce' but got 'BeRocket_domain'.246
Category
I18n
Occurrences
246
Severity
error

Sample message

Mismatched text domain. Expected 'cart-products-suggestions-for-woocommerce' but got 'BeRocket_domain'.

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$additional".166
Category
Maintainability
Occurrences
166
Severity
warning

Sample message

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

WARNINGSecurityRequest data is not unslashed$_GET['brfeature_description'] not unslashed before sanitization. Use wp_unslash() or similar69
Category
Security
Occurrences
69
Severity
warning

Sample message

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

ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.63
Category
Security
Occurrences
63
Severity
error

Sample message

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

WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.59
Category
Security
Occurrences
59
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET['brfeature_description']57
Category
Security
Occurrences
57
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;51
Category
Maintainability
Occurrences
51
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.35
Category
Security
Occurrences
35
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORMaintainabilityShort PHP open tag 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
WARNINGMaintainabilityNon-prefixed function20
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;.

WARNINGSecurityInput is not validated20
Category
Security
Occurrences
20
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.

WARNINGMaintainabilityMissing Version16
Category
Maintainability
Occurrences
16
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.

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 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;cart_suggestion_widget_add_to_cart&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.

ERRORMaintainabilitystrip tags strip tags10
Category
Maintainability
Occurrences
10
Severity
error

Sample message

strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.

ERRORI18nMissing Arg Domain10
Category
I18n
Occurrences
10
Severity
error

Sample message

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

WARNINGMaintainabilityNot In Footer8
Category
Maintainability
Occurrences
8
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.

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.

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']

WARNINGMaintainabilityNon-prefixed class4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: &quot;BACN_CartSuggestion_DiviExtension&quot;.

WARNINGMaintainabilityNon-prefixed constant4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;BR_EE_HIDDEN&quot;.

WARNINGMaintainabilityerror log print r4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

print_r() found. Debug code should not normally be used in production.

ERRORI18nMissing Translators Comment4
Category
I18n
Occurrences
4
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.

External Connections

Potential connections found in static code analysis.

21 domains

Outbound calls

261

External assets

18

Incoming endpoints

16

Platform / Reference Domains

wordpress.org8 · platform/reference
github.com5 · platform/reference
w3.org2 · platform/reference
opensource.org1 · platform/reference

External Asset Domains

berocket.com164 · asset + outbound
apicdn.berocket.com35 · asset + outbound
youtube.com1 · asset

Incoming Endpoints

No public endpoints detected.

Admin AJAX endpoints16
wp_ajax_berocket_admin_close_noticeauthenticated

wp_ajax

wp_ajax_berocket_error_notices_getauthenticated

wp_ajax

wp_ajax_berocket_feature_request_sendauthenticated

wp_ajax

wp_ajax_berocket_information_close_noticeauthenticated

wp_ajax

wp_ajax_berocket_rate_stars_closeauthenticated

wp_ajax

wp_ajax_berocket_subscribe_emailauthenticated

wp_ajax

wp_ajax_br_authenticated

wp_ajax

wp_ajax_br_test_keyauthenticated

wp_ajax

wp_ajax_br_test_keysauthenticated

wp_ajax

wp_ajax_brcs_cart_suggestionauthenticated

wp_ajax

wp_ajax_brfr_confirm_import_settingsauthenticated

wp_ajax

wp_ajax_brfr_get_export_settingsauthenticated

wp_ajax

4 more hidden

Score History

First score snapshot

v3.6.2.8

23

Latest

Findings
1,220
Errors
718
Warnings
502
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins

Advanced AJAX Product Filters

50k+ active installs

22
Brands for WooCommerce

6k+ active installs

24