Better Search – Relevant search results for WordPress

Better Search replaces the default WordPress search with a better search engine that gives contextual results sorted by relevance.

v4.3.0AjayUpdated Added 5k+ installs88% rating100% support resolved
77
Score
18
Errors
117
Warnings
+0
Change

Category Scores

Security71
Repo100
Performance98
Maintainability67

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

135 findings

Maintainability

97

9 issue groups

Security

23

1 issue group

I18n

14

2 issue groups

Performance

1

1 issue group

WARNINGMaintainabilityDynamic Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "self::$prefix . '_fifu_meta_key'".31
Category
Maintainability
Occurrences
31
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "self::$prefix . '_fifu_meta_key'".

WARNINGSecurityUnescaped DBParameterUnescaped parameter $backup_table_name used in $wpdb->get_var()\n$backup_table_name assigned unsafely at line 449.23
Category
Security
Occurrences
23
Severity
warning

Sample message

Unescaped parameter $backup_table_name used in $wpdb->get_var()\n$backup_table_name assigned unsafely at line 449.

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

Sample message

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

WARNINGMaintainabilityNon Prefixed Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "get_bsearch_date".22
Category
Maintainability
Occurrences
22
Severity
warning

Sample message

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

WARNINGMaintainabilityNon Prefixed Function FoundFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "get_bsearch_date".13
Category
Maintainability
Occurrences
13
Severity
warning

Sample message

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

ERRORI18nText Domain MismatchMismatched text domain. Expected 'better-search' but got 'better-search-pro'.13
Category
I18n
Occurrences
13
Severity
error

Sample message

Mismatched text domain. Expected 'better-search' but got 'better-search-pro'.

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

Sample message

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

WARNINGI18nload plugin textdomain Foundload_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.1
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.

WARNINGMaintainabilityNon Prefixed Constant FoundGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "WP_FS__PRODUCT_17020_MULTISITE".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

WARNINGPerformancePost Not In post not inUsing 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.1
Category
Performance
Occurrences
1
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.

Show 3 more
WARNINGMaintainabilitymismatched plugin name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "Better Search - Relevant search results for WordPress" is different from the name declared in plugin header "Better Search".

WARNINGMaintainabilitytrademarked term1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "Better Search - Relevant search results for WordPress" - contains the restricted term "wordpress" which cannot be used at all in your plugin name.

ERRORMaintainabilitywp function not compatible with requires wp1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Function "wp_sizes_attribute_includes_valid_auto()" requires WordPress 6.7.0, but your plugin minimum supported version is WordPress 6.6.0.

Score History

First score snapshot

v4.3.0

77

Latest

Findings
135
Errors
18
Warnings
117
Check
2.0.0

Related Plugins

ACF: Better Search

40k+ active installs

97
Relevanssi – A Better Search

100k+ active installs

32