Version Description
Download this release
Release Info
Developer | Mat Lipe |
Plugin | Go Live Update URLS |
Version | 5.2.1 |
Comparing to | |
See all releases |
Code changes from version 5.2.0 to 5.2.1
- go-live-update-urls.php +20 -13
- readme.txt +1 -1
go-live-update-urls.php
CHANGED
@@ -1,16 +1,23 @@
|
|
1 |
<?php
|
2 |
-
|
3 |
-
Plugin Name: Go Live Update URLS
|
4 |
-
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.2.
|
9 |
-
Text Domain: go-live-update-urls
|
10 |
-
|
|
|
|
|
11 |
|
12 |
-
define( 'GO_LIVE_UPDATE_URLS_VERSION', '5.2.
|
13 |
|
|
|
|
|
|
|
|
|
|
|
14 |
function go_live_update_urls_load() {
|
15 |
load_plugin_textdomain( 'go-live-update-urls', false, 'go-live-update-urls/languages' );
|
16 |
|
@@ -22,7 +29,7 @@ function go_live_update_urls_load() {
|
|
22 |
* Autoload classes from PSR4 src directory
|
23 |
* Mirrored after Composer dump-autoload for performance
|
24 |
*
|
25 |
-
* @param string $class
|
26 |
*
|
27 |
* @since 5.0.0
|
28 |
*
|
@@ -30,13 +37,13 @@ function go_live_update_urls_load() {
|
|
30 |
*/
|
31 |
function go_live_update_urls_autoload( $class ) {
|
32 |
$classes = array(
|
33 |
-
//core
|
34 |
'Go_Live_Update_Urls_PHP_5_2_Mock_Class' => 'PHP_5_2_Mock_Class.php',
|
35 |
'Go_Live_Update_Urls_Admin_Page' => 'Admin_Page.php',
|
36 |
'Go_Live_Update_Urls_Core' => 'Core.php',
|
37 |
'Go_Live_Update_Urls_Database' => 'Database.php',
|
38 |
'Go_Live_Update_Urls_Serialized' => 'Serialized.php',
|
39 |
-
//updaters
|
40 |
'Go_Live_Update_Urls__Updaters__Abstract' => 'Updaters/Abstract.php',
|
41 |
'Go_Live_Update_Urls__Updaters__JSON' => 'Updaters/JSON.php',
|
42 |
'Go_Live_Update_Urls__Updaters__Repo' => 'Updaters/Repo.php',
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* Plugin Name: Go Live Update URLS
|
4 |
+
* 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.2.1
|
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.1' );
|
15 |
|
16 |
+
/**
|
17 |
+
* Load the plugin
|
18 |
+
*
|
19 |
+
* @return void
|
20 |
+
*/
|
21 |
function go_live_update_urls_load() {
|
22 |
load_plugin_textdomain( 'go-live-update-urls', false, 'go-live-update-urls/languages' );
|
23 |
|
29 |
* Autoload classes from PSR4 src directory
|
30 |
* Mirrored after Composer dump-autoload for performance
|
31 |
*
|
32 |
+
* @param string $class - class to load.
|
33 |
*
|
34 |
* @since 5.0.0
|
35 |
*
|
37 |
*/
|
38 |
function go_live_update_urls_autoload( $class ) {
|
39 |
$classes = array(
|
40 |
+
// core.
|
41 |
'Go_Live_Update_Urls_PHP_5_2_Mock_Class' => 'PHP_5_2_Mock_Class.php',
|
42 |
'Go_Live_Update_Urls_Admin_Page' => 'Admin_Page.php',
|
43 |
'Go_Live_Update_Urls_Core' => 'Core.php',
|
44 |
'Go_Live_Update_Urls_Database' => 'Database.php',
|
45 |
'Go_Live_Update_Urls_Serialized' => 'Serialized.php',
|
46 |
+
// updaters.
|
47 |
'Go_Live_Update_Urls__Updaters__Abstract' => 'Updaters/Abstract.php',
|
48 |
'Go_Live_Update_Urls__Updaters__JSON' => 'Updaters/JSON.php',
|
49 |
'Go_Live_Update_Urls__Updaters__Repo' => 'Updaters/Repo.php',
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: Go Live, Urls, Domain Changes
|
|
5 |
Requires at least: 4.6.0
|
6 |
Tested up to: 4.9.8
|
7 |
Requires PHP: 5.2.4
|
8 |
-
Stable tag: 5.2.
|
9 |
|
10 |
== Description ==
|
11 |
|
5 |
Requires at least: 4.6.0
|
6 |
Tested up to: 4.9.8
|
7 |
Requires PHP: 5.2.4
|
8 |
+
Stable tag: 5.2.1
|
9 |
|
10 |
== Description ==
|
11 |
|