Version Description
Download this release
Release Info
Developer | Mat Lipe |
Plugin | Go Live Update URLS |
Version | 5.1.1 |
Comparing to | |
See all releases |
Code changes from version 5.1.0 to 5.1.1
- go-live-update-urls.php +2 -5
- readme.txt +2 -2
- src/GoLiveUpdateUrls.php +0 -49
go-live-update-urls.php
CHANGED
@@ -5,14 +5,11 @@ Plugin URI: https://matlipe.com/go-live-update-urls/
|
|
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.1.
|
9 |
Text Domain: go-live-update-urls
|
10 |
*/
|
11 |
|
12 |
-
define( 'GO_LIVE_UPDATE_URLS_VERSION', '5.1.
|
13 |
-
|
14 |
-
/** Deprecated to be removed 6/1/18 */
|
15 |
-
require plugin_dir_path( __FILE__ ) . '/src/GoLiveUpdateUrls.php';
|
16 |
|
17 |
function go_live_update_urls_load() {
|
18 |
load_plugin_textdomain( 'go-live-update-urls', false, 'go-live-update-urls/languages' );
|
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.1.1
|
9 |
Text Domain: go-live-update-urls
|
10 |
*/
|
11 |
|
12 |
+
define( 'GO_LIVE_UPDATE_URLS_VERSION', '5.1.1' );
|
|
|
|
|
|
|
13 |
|
14 |
function go_live_update_urls_load() {
|
15 |
load_plugin_textdomain( 'go-live-update-urls', false, 'go-live-update-urls/languages' );
|
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: 4.9.
|
7 |
Requires PHP: 5.2.4
|
8 |
-
Stable tag: 5.1.
|
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: 4.9.7
|
7 |
Requires PHP: 5.2.4
|
8 |
+
Stable tag: 5.1.1
|
9 |
|
10 |
== Description ==
|
11 |
|
src/GoLiveUpdateUrls.php
DELETED
@@ -1,49 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/**
|
4 |
-
* deprecated 5.0.0
|
5 |
-
*
|
6 |
-
*/
|
7 |
-
class GoLiveUpdateUrls {
|
8 |
-
const TABLE_INPUT_NAME = Go_Live_Update_Urls_Admin_Page::TABLE_INPUT_NAME;
|
9 |
-
|
10 |
-
protected function __construct() {
|
11 |
-
_deprecated_constructor( 'GoLiveUpdateUrls', '5.0.0' );
|
12 |
-
}
|
13 |
-
|
14 |
-
|
15 |
-
/**
|
16 |
-
* @deprecated 5.0.0 in favor of Go_Live_Update_Urls_Database::get_all_tables()
|
17 |
-
* @see Go_Live_Update_Urls_Database::get_all_table_names()
|
18 |
-
*/
|
19 |
-
public static function get_all_tables() {
|
20 |
-
_deprecated_function( 'GoLiveUpdateUrls::get_all_tables', '5.0.0', 'Go_Live_Update_Urls_Database::get_all_tables' );
|
21 |
-
|
22 |
-
return Go_Live_Update_Urls_Database::instance()->get_all_table_names();
|
23 |
-
}
|
24 |
-
|
25 |
-
//********** SINGLETON FUNCTIONS **********/
|
26 |
-
|
27 |
-
|
28 |
-
/**
|
29 |
-
* Instance of this class for use as singleton
|
30 |
-
*/
|
31 |
-
private static $instance;
|
32 |
-
|
33 |
-
|
34 |
-
/**
|
35 |
-
* Get (and instantiate, if necessary) the instance of the
|
36 |
-
* class
|
37 |
-
*
|
38 |
-
* @static
|
39 |
-
* @return self
|
40 |
-
*/
|
41 |
-
public static function get_instance() {
|
42 |
-
if ( ! is_a( self::$instance, __CLASS__ ) ) {
|
43 |
-
self::$instance = new self();
|
44 |
-
}
|
45 |
-
|
46 |
-
return self::$instance;
|
47 |
-
}
|
48 |
-
|
49 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|