Better Find and Replace – AI-Powered Suggestions

Search and replace text, images, URLs, footer credits, code blocks or jQuery-Ajax content in real time or in Database, easy user-interface

v1.9.3CodeSolzUpdated Added 40k+ installs92% rating
36
Score
67
Errors
129
Warnings
+0
Change

Category Scores

Security0
Repo100
Performance100
Maintainability54

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

196 findings

Maintainability

113

12 issue groups

Security

75

10 issue groups

I18n

5

3 issue groups

ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;58
Category
Maintainability
Occurrences
58
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.25
Category
Security
Occurrences
25
Severity
warning

Sample message

Processing form data without nonce verification.

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

WARNINGSecurityInterpolated SQL is not preparedUse placeholders and $wpdb->prepare(); found interpolated variable $search at "$search "15
Category
Security
Occurrences
15
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $search at "$search "

WARNINGSecurityDatabase parameter is not escapedUnescaped parameter $guid_clause used in $wpdb->get_results()\n$guid_clause assigned unsafely at line 699.9
Category
Security
Occurrences
9
Severity
warning

Sample message

Unescaped parameter $guid_clause used in $wpdb->get_results()\n$guid_clause assigned unsafely at line 699.

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_FILES['media_file']9
Category
Security
Occurrences
9
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_FILES['media_file']

WARNINGMaintainabilityerror log error logerror_log() found. Debug code should not normally be used in production.5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

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

WARNINGSecurityRequest data is not unslashed$_GET['_wpnonce'] not unslashed before sanitization. Use wp_unslash() or similar5
Category
Security
Occurrences
5
Severity
warning

Sample message

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

WARNINGSecurityUnfinished PrepareReplacement variables found, but no valid placeholders found in the query.4
Category
Security
Occurrences
4
Severity
warning

Sample message

Replacement variables found, but no valid placeholders found in the query.

Show 15 more
WARNINGSecurityMissing nonce verification3
Category
Security
Occurrences
3
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORI18nMissing Translators Comment3
Category
I18n
Occurrences
3
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.

ERRORSecurityDatabase parameter is not escaped2
Category
Security
Occurrences
2
Severity
error

Sample message

Unescaped parameter $search used in $wpdb->get_results()\n$search assigned unsafely at line 218.

WARNINGMaintainabilityNon-prefixed global variable2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

WARNINGSecurityInput is not validated2
Category
Security
Occurrences
2
Severity
warning

Sample message

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

WARNINGI18nDiscouraged text-domain loading1
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.

WARNINGMaintainabilitySchema Change1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Attempting a database schema change is discouraged.

WARNINGMaintainabilityNon-prefixed class1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed hook name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed global variable1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

WARNINGMaintainabilityerror log set error handler1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

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.

ERRORMaintainabilityNon Enqueued Script1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Scripts must be registered/enqueued via wp_enqueue_script()

ERRORMaintainabilityNon Enqueued Stylesheet1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Stylesheets must be registered/enqueued via wp_enqueue_style()

ERRORI18nUnordered Placeholders Text1
Category
I18n
Occurrences
1
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$2F, %2$2F", but got "%2F, %2F" in 'Check this checkbox, if you want find and replace to also match URLs stored in escaped or encoded form. e.g : JSON-escaped (https:\/\/) and percent-encoded (https%3A%2F%2F) variants, like the ones Elementor and other page builders store inside JSON.'.

Score History

First score snapshot

v1.9.3

36

Latest

Findings
196
Errors
67
Warnings
129
Check
2.0.0

Related Plugins

Change Table Prefix

1k+ active installs

99
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