All-in-One WP Migration - Version 3.1.1

Version Description

  • Fixed secret key issue on upgrade of the plugin
Download this release

Release Info

Developer yani.iliev
Plugin Icon 128x128 All-in-One WP Migration
Version 3.1.1
Comparing to
See all releases

Code changes from version 3.0.1 to 3.1.1

all-in-one-wp-migration.php CHANGED
@@ -5,7 +5,7 @@
5
* Description: Migration tool for all your blog data. Import or Export your blog content with a single click.
6
* Author: ServMask
7
* Author URI: https://servmask.com/
8
- * Version: 3.0.1
9
* Text Domain: all-in-one-wp-migration
10
* Domain Path: /languages
11
* Network: True
5
* Description: Migration tool for all your blog data. Import or Export your blog content with a single click.
6
* Author: ServMask
7
* Author URI: https://servmask.com/
8
+ * Version: 3.1.1
9
* Text Domain: all-in-one-wp-migration
10
* Domain Path: /languages
11
* Network: True
constants.php CHANGED
@@ -38,7 +38,7 @@ if ( function_exists( 'gethostname' ) && in_array( gethostname(), $local ) ) {
38
// ==================
39
// = Plugin Version =
40
// ==================
41
- define( 'AI1WM_VERSION', '3.0.1' );
42
43
// ===============
44
// = Plugin Name =
38
// ==================
39
// = Plugin Version =
40
// ==================
41
+ define( 'AI1WM_VERSION', '3.1.1' );
42
43
// ===============
44
// = Plugin Name =
lib/controller/class-ai1wm-main-controller.php CHANGED
@@ -39,6 +39,7 @@ class Ai1wm_Main_Controller {
39
array( $this, 'activation_hook' )
40
);
41
42
// Activate hooks
43
$this->activate_actions()
44
->activate_filters()
@@ -71,8 +72,10 @@ class Ai1wm_Main_Controller {
71
*
72
* @return boolean
73
*/
74
- private function generate_secret_key() {
75
- return update_site_option( AI1WM_SECRET_KEY, wp_generate_password( 12, false ) );
76
}
77
78
/**
@@ -96,6 +99,7 @@ class Ai1wm_Main_Controller {
96
add_action( 'admin_init', array( $this, 'http_authentication' ) );
97
add_action( 'admin_head', array( $this, 'admin_head' ) );
98
add_action( 'get_header', array( $this, 'get_header' ) );
99
100
return $this;
101
}
39
array( $this, 'activation_hook' )
40
);
41
42
+
43
// Activate hooks
44
$this->activate_actions()
45
->activate_filters()
72
*
73
* @return boolean
74
*/
75
+ public function generate_secret_key() {
76
+ if ( false === get_site_option( AI1WM_SECRET_KEY, false, false ) ) {
77
+ return update_site_option( AI1WM_SECRET_KEY, wp_generate_password( 12, false ) );
78
+ }
79
}
80
81
/**
99
add_action( 'admin_init', array( $this, 'http_authentication' ) );
100
add_action( 'admin_head', array( $this, 'admin_head' ) );
101
add_action( 'get_header', array( $this, 'get_header' ) );
102
+ add_action( 'init', array( $this, 'generate_secret_key' ) );
103
104
return $this;
105
}
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: yani.iliev, bangelov, pimjitsawang
3
Tags: db migration, migration, wordpress migration, db backup, db restore, website backup, website restore, website migration, website deploy, wordpress deploy, db backup, database export, database serialization, database find replace
4
Requires at least: 3.3
5
Tested up to: 4.1
6
- Stable tag: 3.0.1
7
License: GPLv2 or later
8
9
All-in-One WP Migration is the only tool that you will ever need to migrate a WordPress site.
@@ -57,7 +57,10 @@ All in One WP Plugin is the first plugin to offer true mobile experience on Word
57
3. Plugin Menu
58
59
== Changelog ==
60
- = 3.0.1 =
61
* Added export to File, [Dropbox](https://servmask.com/products/dropbox-extension), [Amazon S3](https://servmask.com/products/amazon-s3-extension), [Google Drive](https://servmask.com/products/google-drive-extension)
62
* Added import from File, [Dropbox](https://servmask.com/products/dropbox-extension), [Amazon S3](https://servmask.com/products/amazon-s3-extension), [Google Drive](https://servmask.com/products/google-drive-extension)
63
* Implemented our own archiving format that reduces export and import by a factor of 10
3
Tags: db migration, migration, wordpress migration, db backup, db restore, website backup, website restore, website migration, website deploy, wordpress deploy, db backup, database export, database serialization, database find replace
4
Requires at least: 3.3
5
Tested up to: 4.1
6
+ Stable tag: 3.0.0
7
License: GPLv2 or later
8
9
All-in-One WP Migration is the only tool that you will ever need to migrate a WordPress site.
57
3. Plugin Menu
58
59
== Changelog ==
60
+ = 3.1.1 =
61
+ * Fixed secret key issue on upgrade of the plugin
62
+
63
+ = 3.0.0 =
64
* Added export to File, [Dropbox](https://servmask.com/products/dropbox-extension), [Amazon S3](https://servmask.com/products/amazon-s3-extension), [Google Drive](https://servmask.com/products/google-drive-extension)
65
* Added import from File, [Dropbox](https://servmask.com/products/dropbox-extension), [Amazon S3](https://servmask.com/products/amazon-s3-extension), [Google Drive](https://servmask.com/products/google-drive-extension)
66
* Implemented our own archiving format that reduces export and import by a factor of 10