Skip to content

Commit 4d4cf86

Browse files
committed
ai
1 parent 7dfc871 commit 4d4cf86

File tree

5 files changed

+21
-12
lines changed

5 files changed

+21
-12
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
### Version: 1.7.2 ( May 16, 2025 ) ###
2+
- **New:** ✨ AI-Powered Suggestions – Generate intelligent replacement suggestions using OpenAI.
3+
- **New:** AI suggestion - preview with Apply / Regenerate options.
4+
15
### Version: 1.7.1 ( April 22, 2025 ) ###
26
- **Update:** updated for the latest release
37

assets/js/rtafar.ai.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/admin/functions/aiHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public function getAiSuggestion( $userInput ){
166166
'status' => true,
167167
'title' => __( 'Applied', 'real-time-auto-find-and-replace' ),
168168
'text' => __( 'The replacement text has been updated.', 'real-time-auto-find-and-replace' ),
169-
'suggestion' => trim($body['choices'][0]['message']['content'])
169+
'suggestion' => trim($body['choices'][0]['message']['content'], '"')
170170
));
171171
}
172172

readme.txt

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,34 @@ Tags: database, search replace, search, replace, find and replace
44
Donate link: https://codesolz.net/our-products/wordpress-plugin/real-time-auto-find-and-replace/?utm_source=wordpress.org&utm_medium=README_DONATE_BTN
55
Requires at least: 4.0
66
Tested up to: 6.8
7-
Stable tag: 1.7.1
7+
Stable tag: 1.7.2
88
License: GPLv2 or later
99
License URI: http://www.gnu.org/licenses/gpl-2.0.html
1010

1111
Search and replace anything: text, images, URLs, code blocks, jQuery-Ajax loaded content in real time or Database. Advanced filters, no coding needed.
1212

1313
== Description ==
14+
15+
= AI-Powered Search & Replacement Suggestions =
16+
1417
Better Find and Replace offers advanced search and replace functionality, providing a powerful solution for efficient database management without requiring coding experience. Additionally, it incorporates a dynamic real-time word / text replacing feature.
1518

19+
With built-in AI integration, you can now generate smart replacement suggestions using OpenAI. Just enter your text and let the AI suggest improvements, making your workflow faster and more accurate.
20+
1621
Perfect for post-migration cleanup and bulk edits, Better Find and Replace offers powerful tools to search and replace text, images, and media across your database. With features like case-sensitive matching, serialized data handling, table-specific targeting, and dry-run previews, it ensures safe, precise updates with zero hassle.
1722

18-
The **permanent replace** ensuring that any replaced text, URL etc is eliminated from your database permanently.
1923
Better find and replace is equipped with powerful features that allow you to visualize the results of search and replace content within your database as well as permanently erasing it. It has the ability to search within complex, serialized data structures and replace them with your own words, making it a powerful tool for managing website content for beginners and experienced users alike.
20-
Additionally, it allows for the removal or un-setting of any element in serialized data by specifying its key.
24+
Additionally, it allows for the removal or un-setting of any element in serialized data by specifying its key. The permanent replace ensuring that any replaced text, URL etc is eliminated from your database permanently.
2125

22-
Effortlessly replace images using a drag-and-drop interface directly from the preview, while ensuring seamless thumbnail regeneration for consistent visuals. Enjoy a blazing-fast image replacement process with enhanced efficiency and precision. When replacing an image, you can also update its alt text, caption, and description — a valuable boost for your SEO.
26+
Easily replace images / media using a drag-and-drop interface directly from the preview, while ensuring seamless thumbnail regeneration for consistent visuals. Enjoy a blazing-fast image replacement process with enhanced efficiency and precision. When replacing an image, you can also update its alt text, caption, and description — a valuable boost for your SEO.
2327

2428
Another exciting feature: The real-time functionality provides an advanced word masking technique to search and replace text, url ( anything ), leaving no trace behind. The find and replace process takes place before the website is
2529
rendered in the browser and does not impact any other files or databases. With this ultimate solution, easily find and replace text, HTML code, media/image URLs, footer credits,
2630
or any other content within your website without touching the database with the help of an easy-to-use user interface.
2731

2832
== Key Features ==
2933

34+
* **AI-Powered Suggestions** - Use artificial intelligence (AI) to get smart replacement suggestions, enhancing accuracy and efficiency.
3035
* **Easy to Use** – Clean, user-friendly interface designed for effortless navigation and configuration.
3136
* **Search and Replace Text** – Find and replace any text across your site, whether in static or dynamic content.
3237
* **Search and Replace Ajax/jQuery Content** – Works seamlessly with content loaded via Ajax or jQuery on the frontend.
@@ -178,6 +183,10 @@ code block in find field*
178183

179184
== Changelog ==
180185

186+
= Version: 1.7.2 ( May 16, 2025 ) =
187+
* **New:** ✨ AI-Powered Suggestions – Generate intelligent replacement suggestions using OpenAI.
188+
* **New:** AI suggestion - preview with Apply / Regenerate options.
189+
181190
= Version: 1.7.1 ( April 22, 2025 ) =
182191
* **Update:** updated for the latest release
183192

@@ -191,8 +200,4 @@ code block in find field*
191200
= Version: 1.6.8 ( January 22, 2025 ) =
192201
* **Update:** Security patch updated
193202

194-
= Version: 1.6.7 ( January 19, 2025 ) =
195-
* **New:** <a href="https://docs.codesolz.net/better-find-and-replace/real-time-find-replace/media-replacer/">Visual Media Replacer:</a> Effortlessly update images with seamless precision!
196-
* **Update:** JS script has been modernize for latest browsers
197-
198203
[CHECK THE FULL CHANGELOG](https://github.com/CodeSolz/Better-Find-and-Replace/blob/master/CHANGELOG.md).

real-time-auto-find-and-replace.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Plugin Name: Better Find and Replace
55
* Plugin URI: https://codesolz.net/our-products/wordpress-plugin/real-time-auto-find-and-replace/
66
* Description: The plugin has the capability to automatically search for specific words and replace them with your preferred words. You have the ability to create your own search and replace rules for real-time replacement. These rules will be applied before the page is displayed in the browser, as well as during any background interactions with other social plugins.
7-
* Version: 1.7.1
7+
* Version: 1.7.2
88
* Author: CodeSolz
99
* Author URI: https://www.codesolz.net
1010
* License: GPLv3
@@ -41,7 +41,7 @@ class Real_Time_Auto_Find_And_Replace {
4141
*
4242
* @var String
4343
*/
44-
private static $version = '1.7.1';
44+
private static $version = '1.7.2';
4545

4646
/**
4747
* Hold version

0 commit comments

Comments
 (0)