Ajax Search Lite – Live Search & Filter

The Best Ajax Live Search and Filter for WordPress. Live suggestions, Custom Post types, Custom fields, Categories, WooCommerce & Elementor support

v4.14.4wpdreamsUpdated Added 80k+ installs96% rating50% support resolved
76
Score
126
Errors
264
Warnings
+0
Change

Category Scores

Security86
Repo100
Performance100
Maintainability18

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

390 findings

Maintainability

380

12 issue groups

I18n

7

1 issue group

Security

3

2 issue groups

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "asl/rest/base_url/".98
Category
Maintainability
Occurrences
98
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "asl/rest/base_url/".

ERRORMaintainabilitywp function not compatible with requires wpFunction "get_network()" requires WordPress 4.6.0, but your plugin minimum supported version is WordPress 3.5.0.84
Category
Maintainability
Occurrences
84
Severity
error

Sample message

Function "get_network()" requires WordPress 4.6.0, but your plugin minimum supported version is WordPress 3.5.0.

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

Sample message

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

WARNINGMaintainabilityNon-prefixed classClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "ASL_Helpers".37
Category
Maintainability
Occurrences
37
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "ASL_Helpers".

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "asl_decode_params".33
Category
Maintainability
Occurrences
33
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "asl_decode_params".

ERRORMaintainabilitydate datedate() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.24
Category
Maintainability
Occurrences
24
Severity
error

Sample message

date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.

WARNINGMaintainabilityNon-prefixed constantGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "ASL_AUTOLOAD_PATH".14
Category
Maintainability
Occurrences
14
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "ASL_AUTOLOAD_PATH".

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

Sample message

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

ERRORI18nText Domain MismatchMismatched text domain. Expected 'ajax-search-lite' but got 'ajax-search-pro'.7
Category
I18n
Occurrences
7
Severity
error

Sample message

Mismatched text domain. Expected 'ajax-search-lite' but got 'ajax-search-pro'.

WARNINGSecurityDatabase parameter is not escapedUnescaped parameter static::getTableName() . " WHERE phrase LIKE %s LIMIT %d" used in $wpdb->get_results()2
Category
Security
Occurrences
2
Severity
warning

Sample message

Unescaped parameter static::getTableName() . " WHERE phrase LIKE %s LIMIT %d" used in $wpdb->get_results()

Show 5 more
WARNINGMaintainabilityDirect Query2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGSecuritywp redirect wp redirect1
Category
Security
Occurrences
1
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.

ERRORMaintainabilityfile system operations fclose1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().

WARNINGMaintainabilitymismatched plugin name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "Ajax Search Lite - Live Search & Filter" is different from the name declared in plugin header "Ajax Search Lite".

WARNINGMaintainabilitymissing composer json file1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The "/vendor" directory using composer exists, but "composer.json" file is missing.

Score History

First score snapshot

v4.14.4

76

Latest

Findings
390
Errors
126
Warnings
264
Check
2.0.0

Related Plugins

Disable Search

40k+ active installs

99
Search Analytics for WP

3k+ active installs

99
Highlight Search Terms

7k+ active installs

98
ACF: Better Search

40k+ active installs

97