Version Description
- Support updating
registration_log
andsignups
tables. - Make
get_doubled_up_subdomain
method public.
Download this release
Release Info
Developer | Mat Lipe |
Plugin | Go Live Update URLS |
Version | 6.1.4 |
Comparing to | |
See all releases |
Code changes from version 6.1.3 to 6.1.4
- go-live-update-urls.php +2 -2
- readme.txt +5 -1
- src/Database.php +1 -0
- src/Updates.php +1 -1
go-live-update-urls.php
CHANGED
@@ -5,13 +5,13 @@
|
|
5 |
* Description: Updates all the URLs in the database to point to a new URL when making your site live or changing domains.
|
6 |
* Author: OnPoint Plugins
|
7 |
* Author URI: https://onpointplugins.com/
|
8 |
-
* Version: 6.1.
|
9 |
* Text Domain: go-live-update-urls
|
10 |
*
|
11 |
* @package go-live-update-urls
|
12 |
*/
|
13 |
|
14 |
-
define( 'GO_LIVE_UPDATE_URLS_VERSION', '6.1.
|
15 |
define( 'GO_LIVE_UPDATE_URLS_REQUIRED_PRO_VERSION', '6.0.0' );
|
16 |
define( 'GO_LIVE_UPDATE_URLS_URL', plugin_dir_url( __FILE__ ) );
|
17 |
|
5 |
* Description: Updates all the URLs in the database to point to a new URL when making your site live or changing domains.
|
6 |
* Author: OnPoint Plugins
|
7 |
* Author URI: https://onpointplugins.com/
|
8 |
+
* Version: 6.1.4
|
9 |
* Text Domain: go-live-update-urls
|
10 |
*
|
11 |
* @package go-live-update-urls
|
12 |
*/
|
13 |
|
14 |
+
define( 'GO_LIVE_UPDATE_URLS_VERSION', '6.1.4' );
|
15 |
define( 'GO_LIVE_UPDATE_URLS_REQUIRED_PRO_VERSION', '6.0.0' );
|
16 |
define( 'GO_LIVE_UPDATE_URLS_URL', plugin_dir_url( __FILE__ ) );
|
17 |
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: urls, launching, site changes, tools, domain, domains, domain changes, url
|
|
5 |
Requires at least: 4.8.0
|
6 |
Tested up to: 5.5.1
|
7 |
Requires PHP: 5.6.0
|
8 |
-
Stable tag: 6.1.
|
9 |
|
10 |
== Description ==
|
11 |
|
@@ -98,6 +98,10 @@ If you wish to try to update tables mentioned as "not safe" anyway, you may make
|
|
98 |
1. Typical settings page. The verbiage will change slightly depending on your database structure.
|
99 |
|
100 |
== Changelog ==
|
|
|
|
|
|
|
|
|
101 |
= 6.1.3 =
|
102 |
* Support WordPress version 5.5.1
|
103 |
|
5 |
Requires at least: 4.8.0
|
6 |
Tested up to: 5.5.1
|
7 |
Requires PHP: 5.6.0
|
8 |
+
Stable tag: 6.1.4
|
9 |
|
10 |
== Description ==
|
11 |
|
98 |
1. Typical settings page. The verbiage will change slightly depending on your database structure.
|
99 |
|
100 |
== Changelog ==
|
101 |
+
= 6.1.4 =
|
102 |
+
* Support updating `registration_log` and `signups` tables.
|
103 |
+
* Make `get_doubled_up_subdomain` method public.
|
104 |
+
|
105 |
= 6.1.3 =
|
106 |
* Support WordPress version 5.5.1
|
107 |
|
src/Database.php
CHANGED
@@ -27,6 +27,7 @@ class Database {
|
|
27 |
$wpdb->options => 'option_value',
|
28 |
$wpdb->postmeta => 'meta_value',
|
29 |
$wpdb->commentmeta => 'meta_value',
|
|
|
30 |
$wpdb->termmeta => 'meta_value',
|
31 |
$wpdb->usermeta => 'meta_value',
|
32 |
];
|
27 |
$wpdb->options => 'option_value',
|
28 |
$wpdb->postmeta => 'meta_value',
|
29 |
$wpdb->commentmeta => 'meta_value',
|
30 |
+
$wpdb->signups => 'meta',
|
31 |
$wpdb->termmeta => 'meta_value',
|
32 |
$wpdb->usermeta => 'meta_value',
|
33 |
];
|
src/Updates.php
CHANGED
@@ -213,7 +213,7 @@ class Updates {
|
|
213 |
*
|
214 |
* @return string|null
|
215 |
*/
|
216 |
-
|
217 |
if ( strpos( $this->new_url, $this->old_url ) !== false ) {
|
218 |
list( $subdomain ) = explode( '.', $this->new_url );
|
219 |
return $subdomain . '.' . $this->new_url;
|
213 |
*
|
214 |
* @return string|null
|
215 |
*/
|
216 |
+
public function get_doubled_up_subdomain() {
|
217 |
if ( strpos( $this->new_url, $this->old_url ) !== false ) {
|
218 |
list( $subdomain ) = explode( '.', $this->new_url );
|
219 |
return $subdomain . '.' . $this->new_url;
|