Advanced AJAX Product Filters

Fast and flexible AJAX product filters for WooCommerce. Filter by categories, attributes, price, tags, rating, and more. No page reloads.

v3.2.0.3BeRocketUpdated Added 50k+ installs94% rating44% support resolved
22
Score
2,683
Errors
1,205
Warnings
+0
Change

Category Scores

Security0
Repo89
Performance84
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

3,888 findings

Security

1,466

10 issue groups

I18n

1,284

2 issue groups

Maintainability

1,006

12 issue groups

Performance

12

1 issue group

ERRORI18nText Domain MismatchMismatched text domain. Expected 'woocommerce-ajax-filters' but got "BeRocket_AJAX_domain".1,271
Category
I18n
Occurrences
1,271
Severity
error

Sample message

Mismatched text domain. Expected 'woocommerce-ajax-filters' but got "BeRocket_AJAX_domain".

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'>"'.736
Category
Security
Occurrences
736
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 global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$additional".303
Category
Maintainability
Occurrences
303
Severity
warning

Sample message

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

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

Sample message

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

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

Sample message

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

WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.125
Category
Security
Occurrences
125
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 ..."123
Category
Maintainability
Occurrences
123
Severity
error

Sample message

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

WARNINGSecurityRequest data is not unslashed$_GET[$filter_var] not unslashed before sanitization. Use wp_unslash() or similar106
Category
Security
Occurrences
106
Severity
warning

Sample message

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

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.101
Category
Maintainability
Occurrences
101
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().101
Category
Maintainability
Occurrences
101
Severity
warning

Sample message

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

Show 15 more
WARNINGSecurityInput is not sanitized94
Category
Security
Occurrences
94
Severity
warning

Sample message

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

ERRORSecuritySQL query is not prepared70
Category
Security
Occurrences
70
Severity
error

Sample message

Use placeholders and $wpdb->prepare(); found $drop_query

WARNINGMaintainabilityNon-prefixed hook name70
Category
Maintainability
Occurrences
70
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;&#039;before_wizard_run_&#039;.$this-&gt;page_id&quot;.

WARNINGSecurityMissing nonce verification70
Category
Security
Occurrences
70
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORSecurityDatabase parameter is not escaped57
Category
Security
Occurrences
57
Severity
error

Sample message

Unescaped parameter $drop_query used in $wpdb->query()\n$drop_query assigned unsafely at line 389.

WARNINGMaintainabilityNon-prefixed function46
Category
Maintainability
Occurrences
46
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;.

ERRORMaintainabilityOffloaded Content34
Category
Maintainability
Occurrences
34
Severity
error

Sample message

Offloading images, js, css, and other scripts to your servers or any remote service is disallowed.

WARNINGSecurityInput is not validated33
Category
Security
Occurrences
33
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 Version26
Category
Maintainability
Occurrences
26
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.

WARNINGMaintainabilityslow db query tax query14
Category
Maintainability
Occurrences
14
Severity
warning

Sample message

Detected usage of tax_query, possible slow query.

WARNINGMaintainabilityDynamic hook name14
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_register_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.

ERRORI18nMissing Translators Comment13
Category
I18n
Occurrences
13
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.

WARNINGPerformancePost Not In post not in12
Category
Performance
Occurrences
12
Severity
warning

Sample message

Using exclusionary parameters, like post__not_in, in calls to get_posts() should be done with caution, see https://wpvip.com/documentation/performance-improvements-by-removing-usage-of-post__not_in/ for more information.

WARNINGSecurityInterpolated SQL is not prepared10
Category
Security
Occurrences
10
Severity
warning

Sample message

Use placeholders and $wpdb-&gt;prepare(); found interpolated variable $field at AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy = &#039;product_cat&#039; AND $field = %s LIMIT 1&quot;

Score History

First score snapshot

v3.2.0.3

22

Latest

Findings
3,888
Errors
2,683
Warnings
1,205
Check
2.0.0

Related Plugins