annasta Filters for WooCommerce

All-in-one products search and filtering solution for your WooCommerce shop with rich features and customization options.

v1.8.4annastaaUpdated Added 2k+ installs96% rating100% support resolved
32
Score
1,073
Errors
441
Warnings
+0
Change

Category Scores

Security0
Repo100
Performance98
Maintainability37

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,514 findings

I18n

921

6 issue groups

Security

497

11 issue groups

Maintainability

86

8 issue groups

ERRORI18nText Domain MismatchMismatched text domain. Expected 'annasta-woocommerce-product-filters' but got 'annasta-filters'.864
Category
I18n
Occurrences
864
Severity
error

Sample message

Mismatched text domain. Expected 'annasta-woocommerce-product-filters' but got 'annasta-filters'.

WARNINGSecurityMissingProcessing form data without nonce verification.126
Category
Security
Occurrences
126
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$classes'.123
Category
Security
Occurrences
123
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$classes'.

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

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput Not ValidatedDetected usage of a possibly undefined superglobal array index: $_GET['awf_action']. Check that the array index exists before using it.71
Category
Security
Occurrences
71
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_GET['awf_action']. Check that the array index exists before using it.

ERRORI18nMissing Translators CommentA 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.46
Category
I18n
Occurrences
46
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.

WARNINGSecurityMissing Unslash$_GET['awf_callers'] not unslashed before sanitization. Use wp_unslash() or similar34
Category
Security
Occurrences
34
Severity
warning

Sample message

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

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.20
Category
Maintainability
Occurrences
20
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().20
Category
Maintainability
Occurrences
20
Severity
warning

Sample message

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

WARNINGMaintainabilityNot In FooterIn 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.19
Category
Maintainability
Occurrences
19
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.

Show 15 more
WARNINGSecurityInterpolated Not Prepared18
Category
Security
Occurrences
18
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable {$attributes_count_check} at \t\t\t\t\t\t\tWHERE ({$in_clauses}) AND (posts.ID IN ({$attributes_count_check}))\r\n

WARNINGSecurityInput Not Sanitized18
Category
Security
Occurrences
18
Severity
warning

Sample message

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

WARNINGMaintainabilityMissing Version14
Category
Maintainability
Occurrences
14
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.

ERRORSecurityUnescaped DBParameter13
Category
Security
Occurrences
13
Severity
error

Sample message

Unescaped parameter $availability used in $wpdb->get_col()

ERRORSecurityNot Prepared10
Category
Security
Occurrences
10
Severity
error

Sample message

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

WARNINGMaintainabilityslow db query meta query5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

WARNINGMaintainabilityslow db query tax query4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Detected usage of tax_query, possible slow query.

ERRORI18nMissing Arg Domain4
Category
I18n
Occurrences
4
Severity
error

Sample message

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

ERRORI18nNon Singular String Literal Text4
Category
I18n
Occurrences
4
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: $this->section

WARNINGSecuritywp redirect wp redirect3
Category
Security
Occurrences
3
Severity
warning

Sample message

wp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.

ERRORSecurityQuoted Simple Placeholder2
Category
Security
Occurrences
2
Severity
error

Sample message

Simple placeholders should not be quoted in the query string in $wpdb->prepare(). Found: '%s'.

WARNINGMaintainabilityerror log print r2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

WARNINGI18nNo Html Wrapped Strings2
Category
I18n
Occurrences
2
Severity
warning

Sample message

Translatable string should not be wrapped in HTML. Found: '<p><strong>You can remove this block! </strong>This preset is set to be controlled by "Filters" toggle button. In this <strong>Visibility</strong> mode both the preset and the "Filters" button will be auto-inserted into the filterable pages allowed by the <strong>Display on</strong> section.</p>'

ERRORMaintainabilitymissing direct file access protection2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

WARNINGI18nload plugin textdomain Found1
Category
I18n
Occurrences
1
Severity
warning

Sample message

load_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.

Score History

First score snapshot

v1.8.4

32

Latest

Findings
1,514
Errors
1,073
Warnings
441
Check
2.0.0

Related Plugins