Relevanssi replaces the default search with a partial-match search that sorts results by relevance. It also indexes comments and shortcode content.
Category Scores
Top Issues by Category
maintainability231
security113
Issues Details
352 issues found in latest scan
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Unescaped parameter $data_query used in $wpdb->get_results()\n$data_query assigned unsafely at line 67.
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
Detected usage of a non-sanitized input variable: $_COOKIE['wp-postpass_' . COOKIEHASH]
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "post_password_required".
$_POST['args'] not unslashed before sanitization. Use wp_unslash() or similar
Detected usage of a possibly undefined superglobal array index: $_POST['completed']. Check that the array index exists before using it.
Function "get_post_parent()" requires WordPress 5.7.0, but your plugin minimum supported version is WordPress 4.9.0.
Attempting a database schema change is discouraged.
Use of heredoc syntax (<<<) is not allowed; use standard strings or inline HTML instead
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "_relevanssi_install".
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$blogids".
Detected usage of meta_query, possible slow query.
Detected usage of tax_query, possible slow query.
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.
Found call to wp_enqueue_script() with external resource. Offloading scripts to your servers or any remote service is disallowed.
Plugin name "Relevanssi - A Better Search" is different from the name declared in plugin header "Relevanssi".
| Code | Type | Message | Count |
|---|---|---|---|
| missing_direct_file_access_protection | ERROR | PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit; | 68 |
| PluginCheck.Security.DirectDB.UnescapedDBParameter | WARNING | Unescaped parameter $data_query used in $wpdb->get_results()\n$data_query assigned unsafely at line 67. | 65 |
| WordPress.DB.DirectDatabaseQuery.DirectQuery | WARNING | Use of a direct database call is discouraged. | 61 |
| WordPress.DB.DirectDatabaseQuery.NoCaching | WARNING | Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete(). | 57 |
| WordPress.Security.ValidatedSanitizedInput.InputNotSanitized | WARNING | Detected usage of a non-sanitized input variable: $_COOKIE['wp-postpass_' . COOKIEHASH] | 21 |
| WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound | WARNING | Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "post_password_required". | 19 |
| WordPress.Security.ValidatedSanitizedInput.MissingUnslash | WARNING | $_POST['args'] not unslashed before sanitization. Use wp_unslash() or similar | 19 |
| WordPress.Security.ValidatedSanitizedInput.InputNotValidated | WARNING | Detected usage of a possibly undefined superglobal array index: $_POST['completed']. Check that the array index exists before using it. | 8 |
| WordPress.WP.I18n.MissingArgDomain | ERROR | Missing $domain parameter in function call to __(). | 7 |
| wp_function_not_compatible_with_requires_wp | ERROR | Function "get_post_parent()" requires WordPress 5.7.0, but your plugin minimum supported version is WordPress 4.9.0. | 7 |
| WordPress.DB.DirectDatabaseQuery.SchemaChange | WARNING | Attempting a database schema change is discouraged. | 4 |
| PluginCheck.CodeAnalysis.Heredoc.NotAllowed | ERROR | Use of heredoc syntax (<<<) is not allowed; use standard strings or inline HTML instead | 3 |
| WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound | WARNING | Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "_relevanssi_install". | 3 |
| WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound | WARNING | Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$blogids". | 3 |
| WordPress.DB.SlowDBQuery.slow_db_query_meta_query | WARNING | Detected usage of meta_query, possible slow query. | 2 |
| WordPress.DB.SlowDBQuery.slow_db_query_tax_query | WARNING | Detected usage of tax_query, possible slow query. | 2 |
| PluginCheck.CodeAnalysis.DiscouragedFunctions.load_plugin_textdomainFound | WARNING | 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. | 1 |
| PluginCheck.CodeAnalysis.EnqueuedResourceOffloading.OffloadedContent | ERROR | Found call to wp_enqueue_script() with external resource. Offloading scripts to your servers or any remote service is disallowed. | 1 |
| mismatched_plugin_name | WARNING | Plugin name "Relevanssi - A Better Search" is different from the name declared in plugin header "Relevanssi". | 1 |
Latest Snapshot
Findings
352
Errors
86
Warnings
266
Score History
First score snapshot
First scan completed
v4.27.1 · Plugin Check 2.0.0 · Model 2026.06-mvp-static-v2
v4.27.1
32
Latest
- Findings
- 352
- Errors
- 86
- Warnings
- 266
- Plugin Check
- 2.0.0
- Model
- 2026.06-mvp-static-v2
| Scan | Score | Findings | Errors | Warnings | Plugin | Plugin Check | Model |
|---|---|---|---|---|---|---|---|
| Latest | 32 | 352 | 86 | 266 | v4.27.1 | 2.0.0 | 2026.06-mvp-static-v2 |