Version Description
Download this release
Release Info
Developer | Mat Lipe |
Plugin | Go Live Update URLS |
Version | 5.0.3 |
Comparing to | |
See all releases |
Code changes from version 5.0.1 to 5.0.3
- go-live-update-urls.php +2 -2
- readme.txt +1 -1
- src/Database.php +3 -1
go-live-update-urls.php
CHANGED
@@ -5,11 +5,11 @@ Plugin URI: https://matlipe.com/go-live-update-urls/
|
|
5 |
Description: 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: https://matlipe.com/
|
8 |
-
Version: 5.0.
|
9 |
Text Domain: go-live-update-urls
|
10 |
*/
|
11 |
|
12 |
-
define( 'GO_LIVE_UPDATE_URLS_VERSION', '5.0.
|
13 |
|
14 |
/** Deprecated to be removed 6/1/18 */
|
15 |
require plugin_dir_path( __FILE__ ) . '/src/GoLiveUpdateUrls.php';
|
5 |
Description: 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: https://matlipe.com/
|
8 |
+
Version: 5.0.3
|
9 |
Text Domain: go-live-update-urls
|
10 |
*/
|
11 |
|
12 |
+
define( 'GO_LIVE_UPDATE_URLS_VERSION', '5.0.3' );
|
13 |
|
14 |
/** Deprecated to be removed 6/1/18 */
|
15 |
require plugin_dir_path( __FILE__ ) . '/src/GoLiveUpdateUrls.php';
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: Go Live, Urls, Domain Changes
|
|
5 |
Requires at least: 4.5.0
|
6 |
Tested up to: 4.9.4
|
7 |
Requires PHP: 5.2.4
|
8 |
-
Stable tag: 5.0.
|
9 |
|
10 |
== Description ==
|
11 |
|
5 |
Requires at least: 4.5.0
|
6 |
Tested up to: 4.9.4
|
7 |
Requires PHP: 5.2.4
|
8 |
+
Stable tag: 5.0.3
|
9 |
|
10 |
== Description ==
|
11 |
|
src/Database.php
CHANGED
@@ -177,8 +177,10 @@ class Go_Live_Update_Urls_Database {
|
|
177 |
|
178 |
do_action( 'go-live-update-urls/database/before-update', $old_url, $new_url, $tables, $this );
|
179 |
|
|
|
|
|
|
|
180 |
@set_time_limit( 0 );
|
181 |
-
@ini_set( 'memory_limit', '256M' );
|
182 |
@ini_set( 'max_input_time', '-1' );
|
183 |
|
184 |
$updaters = (array) Go_Live_Update_Urls__Updaters__Repo::instance()->get_updaters();
|
177 |
|
178 |
do_action( 'go-live-update-urls/database/before-update', $old_url, $new_url, $tables, $this );
|
179 |
|
180 |
+
if ( ! defined( 'WP_MEMORY_LIMIT' ) || preg_replace( '/[^0-9,.]/', '', WP_MEMORY_LIMIT ) < 256 ) {
|
181 |
+
@ini_set( 'memory_limit', '256M' );
|
182 |
+
}
|
183 |
@set_time_limit( 0 );
|
|
|
184 |
@ini_set( 'max_input_time', '-1' );
|
185 |
|
186 |
$updaters = (array) Go_Live_Update_Urls__Updaters__Repo::instance()->get_updaters();
|