Version Description
Download this release
Release Info
Developer | Mat Lipe |
Plugin | Go Live Update URLS |
Version | 2.4.3 |
Comparing to | |
See all releases |
Code changes from version 2.4.2 to 2.4.3
- go-live-update-urls.php +1 -1
- lib/GoLiveUpdateUrls.php +5 -3
- readme.txt +1 -1
go-live-update-urls.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://matlipe.com/go-live-update-urls/
|
|
5 |
Description: This Plugin Updates all the URLs in the database to point to the new URL when making your site live or changing domains.
|
6 |
Author: Mat Lipe
|
7 |
Author URI: http://matlipe.com/
|
8 |
-
Version: 2.4.
|
9 |
*/
|
10 |
|
11 |
define( 'GLUU_VIEWS_DIR', plugin_dir_path(__FILE__) . 'views/' );
|
5 |
Description: This Plugin Updates all the URLs in the database to point to the new URL when making your site live or changing domains.
|
6 |
Author: Mat Lipe
|
7 |
Author URI: http://matlipe.com/
|
8 |
+
Version: 2.4.3
|
9 |
*/
|
10 |
|
11 |
define( 'GLUU_VIEWS_DIR', plugin_dir_path(__FILE__) . 'views/' );
|
lib/GoLiveUpdateUrls.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* @author Mat Lipe
|
5 |
* @since 2.2
|
6 |
*
|
7 |
-
* @since
|
8 |
*
|
9 |
* @TODO Cleanup the Names and formatting
|
10 |
*/
|
@@ -267,7 +267,7 @@ function makeTheUpdates(){
|
|
267 |
* @param string $table the table to go through
|
268 |
* @param string $column to column in the table to go through
|
269 |
*
|
270 |
-
* @since
|
271 |
*
|
272 |
*/
|
273 |
function UpdateSeralizedTable( $table, $column = false ){
|
@@ -290,8 +290,10 @@ function makeTheUpdates(){
|
|
290 |
if( $this->double_subdomain ){
|
291 |
$clean = $this->replaceTree($clean, $this->double_subdomain, $this->newurl);
|
292 |
}
|
|
|
|
|
293 |
|
294 |
-
|
295 |
|
296 |
}
|
297 |
}
|
4 |
* @author Mat Lipe
|
5 |
* @since 2.2
|
6 |
*
|
7 |
+
* @since 2.26.14
|
8 |
*
|
9 |
* @TODO Cleanup the Names and formatting
|
10 |
*/
|
267 |
* @param string $table the table to go through
|
268 |
* @param string $column to column in the table to go through
|
269 |
*
|
270 |
+
* @since 2.26.14
|
271 |
*
|
272 |
*/
|
273 |
function UpdateSeralizedTable( $table, $column = false ){
|
290 |
if( $this->double_subdomain ){
|
291 |
$clean = $this->replaceTree($clean, $this->double_subdomain, $this->newurl);
|
292 |
}
|
293 |
+
|
294 |
+
$clean = @serialize($clean);
|
295 |
|
296 |
+
$wpdb->query($wpdb->prepare( "UPDATE $table SET $column=%s WHERE $primary_key_column=%s", $clean, $row->{$primary_key_column} ) );
|
297 |
|
298 |
}
|
299 |
}
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=paypa
|
|
4 |
Tags: Go Live, Urls, Domain Changes
|
5 |
Requires at least: 3.1
|
6 |
Tested up to: 3.8.1
|
7 |
-
Stable tag: 2.4.
|
8 |
|
9 |
== Description ==
|
10 |
|
4 |
Tags: Go Live, Urls, Domain Changes
|
5 |
Requires at least: 3.1
|
6 |
Tested up to: 3.8.1
|
7 |
+
Stable tag: 2.4.3
|
8 |
|
9 |
== Description ==
|
10 |
|