Version Description
Download this release
Release Info
Developer | Mat Lipe |
Plugin | Go Live Update URLS |
Version | 5.2.2 |
Comparing to | |
See all releases |
Code changes from version 5.2.1 to 5.2.2
- go-live-update-urls.php +2 -2
- readme.txt +2 -2
- src/Admin_Page.php +2 -5
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: Mat Lipe
|
7 |
* Author URI: https://matlipe.com/
|
8 |
-
* Version: 5.2.
|
9 |
* Text Domain: go-live-update-urls
|
10 |
*
|
11 |
* @package go-live-update-urls
|
12 |
*/
|
13 |
|
14 |
-
define( 'GO_LIVE_UPDATE_URLS_VERSION', '5.2.
|
15 |
|
16 |
/**
|
17 |
* Load the plugin
|
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: Mat Lipe
|
7 |
* Author URI: https://matlipe.com/
|
8 |
+
* Version: 5.2.2
|
9 |
* Text Domain: go-live-update-urls
|
10 |
*
|
11 |
* @package go-live-update-urls
|
12 |
*/
|
13 |
|
14 |
+
define( 'GO_LIVE_UPDATE_URLS_VERSION', '5.2.2' );
|
15 |
|
16 |
/**
|
17 |
* Load the plugin
|
readme.txt
CHANGED
@@ -3,9 +3,9 @@ Contributors: Mat Lipe
|
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=paypal%40matlipe%2ecom&lc=US&item_name=Go%20Live%20Update%20Urls&no_note=0¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHostedGuest
|
4 |
Tags: Go Live, Urls, Domain Changes
|
5 |
Requires at least: 4.6.0
|
6 |
-
Tested up to:
|
7 |
Requires PHP: 5.2.4
|
8 |
-
Stable tag: 5.2.
|
9 |
|
10 |
== Description ==
|
11 |
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=paypal%40matlipe%2ecom&lc=US&item_name=Go%20Live%20Update%20Urls&no_note=0¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHostedGuest
|
4 |
Tags: Go Live, Urls, Domain Changes
|
5 |
Requires at least: 4.6.0
|
6 |
+
Tested up to: 5.0.0
|
7 |
Requires PHP: 5.2.4
|
8 |
+
Stable tag: 5.2.2
|
9 |
|
10 |
== Description ==
|
11 |
|
src/Admin_Page.php
CHANGED
@@ -47,11 +47,8 @@ class Go_Live_Update_Urls_Admin_Page {
|
|
47 |
|
48 |
$tables = array_map( 'sanitize_text_field', $_POST[ self::TABLE_INPUT_NAME ] );
|
49 |
|
50 |
-
|
51 |
-
|
52 |
-
$this->tables = $tables;
|
53 |
-
do_action( 'gluu-before-make-update', $this );
|
54 |
-
}
|
55 |
|
56 |
do_action( 'go-live-update-urls/admin-page/before-update', $old_url, $new_url, $tables );
|
57 |
|
47 |
|
48 |
$tables = array_map( 'sanitize_text_field', $_POST[ self::TABLE_INPUT_NAME ] );
|
49 |
|
50 |
+
$this->tables = $tables; // For backward compatibility. Kill when this deprecated call is removed.
|
51 |
+
do_action_deprecated( 'gluu-before-make-update', array( $this ), '5.0.0', 'go-live-update-urls/admin-page/before-update' );
|
|
|
|
|
|
|
52 |
|
53 |
do_action( 'go-live-update-urls/admin-page/before-update', $old_url, $new_url, $tables );
|
54 |
|