Version Description
- Fixed problem with HTML character handling. Thanks to acub (http://profiles.wordpress.org/acub) for the code.
Download this release
Release Info
Developer | Marios Alexandrou |
Plugin | Real-Time Find and Replace |
Version | 1.6 |
Comparing to | |
See all releases |
Code changes from version 1.5 to 1.6
- readme.txt +5 -2
- real-time-find-and-replace.php +3 -3
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: Marios Alexandrou
|
|
3 |
Donate link: http://infolific.com/technology/software-worth-using/real-time-find-and-replace-for-wordpress/
|
4 |
Tags: find, replace
|
5 |
Requires at least: 2.7
|
6 |
-
Tested up to: 3.
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -83,3 +83,6 @@ http://wordpress.org/extend/plugins/rss-includes-pages/
|
|
83 |
|
84 |
= 1.5 =
|
85 |
* Fixed some jQuery bugs affecting the adding and removing of boxes.
|
|
|
|
|
|
3 |
Donate link: http://infolific.com/technology/software-worth-using/real-time-find-and-replace-for-wordpress/
|
4 |
Tags: find, replace
|
5 |
Requires at least: 2.7
|
6 |
+
Tested up to: 3.6.1
|
7 |
+
Stable tag: 1.6
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
83 |
|
84 |
= 1.5 =
|
85 |
* Fixed some jQuery bugs affecting the adding and removing of boxes.
|
86 |
+
|
87 |
+
= 1.6 =
|
88 |
+
* Fixed problem with HTML character handling. Thanks to acub (http://profiles.wordpress.org/acub) for the code.
|
real-time-find-and-replace.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Real-Time Find and Replace
|
4 |
-
Version: 1.
|
5 |
Plugin URI: http://infolific.com/technology/software-worth-using/real-time-find-and-replace-for-wordpress/
|
6 |
Description: Set up find and replace rules that are executed AFTER a page is generated by WordPress, but BEFORE it is sent to a user's browser.
|
7 |
Author: Marios Alexandrou
|
@@ -54,8 +54,8 @@ function far_options_page(){
|
|
54 |
foreach ($farsettings['farfind'] as $key => $find){
|
55 |
if(isset($farsettings['farregex'][$key]))
|
56 |
$regex = 'CHECKED';
|
57 |
-
$replace = $farsettings['farreplace'][$key];
|
58 |
-
echo "<p id='row$i'><label for='farfind$i'>Find: </label><textarea rows='3' cols='30' name='farfind[$i]' id='farfind$i'
|
59 |
unset($regex);
|
60 |
$i++;
|
61 |
}
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Real-Time Find and Replace
|
4 |
+
Version: 1.6
|
5 |
Plugin URI: http://infolific.com/technology/software-worth-using/real-time-find-and-replace-for-wordpress/
|
6 |
Description: Set up find and replace rules that are executed AFTER a page is generated by WordPress, but BEFORE it is sent to a user's browser.
|
7 |
Author: Marios Alexandrou
|
54 |
foreach ($farsettings['farfind'] as $key => $find){
|
55 |
if(isset($farsettings['farregex'][$key]))
|
56 |
$regex = 'CHECKED';
|
57 |
+
$replace = $farsettings['farreplace'][$key];
|
58 |
+
echo "<p id='row$i'><label for='farfind$i'>Find: </label><textarea rows='3' cols='30' name='farfind[$i]' id='farfind$i'>".esc_textarea( $find )."</textarea> <label for='farregex$i'>RegEx?: </label><input type='checkbox' name='farregex[$i]' id='farregex$i' $regex /> <label for='farreplace$i'>Replace: </label><textarea rows='3' cols='30' name='farreplace[$i]' id='farreplace$i'>".esc_textarea( $replace )."</textarea>   <a href='#' onClick='removeFormField(\"#row$i\"); return false;'>Remove</a></p>\n";
|
59 |
unset($regex);
|
60 |
$i++;
|
61 |
}
|