Version Description
- Fixed a security issue where permissions were not checked during export/import. Thank you James Golovich for reporting. You can find more details on his website, http://www.pritect.net
Download this release
Release Info
| Developer | bangelov |
| Plugin | |
| Version | 2.0.5 |
| Comparing to | |
| See all releases | |
Code changes from version 2.0.4 to 2.0.5
- all-in-one-wp-migration.php +1 -1
- constants.php +1 -1
- lib/controller/class-ai1wm-main-controller.php +4 -4
- readme.txt +4 -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: 2.0.
|
| 9 |
*
|
| 10 |
* Copyright (C) 2014 ServMask Inc.
|
| 11 |
*
|
| 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: 2.0.5
|
| 9 |
*
|
| 10 |
* Copyright (C) 2014 ServMask Inc.
|
| 11 |
*
|
constants.php
CHANGED
|
@@ -26,7 +26,7 @@
|
|
| 26 |
// ==================
|
| 27 |
// = Plugin Version =
|
| 28 |
// ==================
|
| 29 |
-
define( 'AI1WM_VERSION', '2.0.
|
| 30 |
|
| 31 |
// ===============
|
| 32 |
// = Plugin Name =
|
| 26 |
// ==================
|
| 27 |
// = Plugin Version =
|
| 28 |
// ==================
|
| 29 |
+
define( 'AI1WM_VERSION', '2.0.5' );
|
| 30 |
|
| 31 |
// ===============
|
| 32 |
// = Plugin Name =
|
lib/controller/class-ai1wm-main-controller.php
CHANGED
|
@@ -71,7 +71,7 @@ class Ai1wm_Main_Controller
|
|
| 71 |
add_action( 'admin_menu', array( $this, 'admin_menu' ) );
|
| 72 |
}
|
| 73 |
add_action( 'admin_head', array( $this, 'admin_head' ) );
|
| 74 |
-
add_action( '
|
| 75 |
add_action( 'wp_ajax_leave_feedback', 'Ai1wm_Feedback_Controller::leave_feedback' );
|
| 76 |
add_action( 'wp_ajax_report_problem', 'Ai1wm_Report_Controller::report_problem' );
|
| 77 |
add_action( 'wp_ajax_import', 'Ai1wm_Import_Controller::import' );
|
|
@@ -316,15 +316,15 @@ class Ai1wm_Main_Controller
|
|
| 316 |
if ( isset( $_POST['options']['action'] ) && ( $action = $_POST['options']['action'] ) ) {
|
| 317 |
switch ( $action ) {
|
| 318 |
case 'export':
|
| 319 |
-
|
|
|
|
|
|
|
| 320 |
break;
|
| 321 |
|
| 322 |
case 'staging':
|
| 323 |
-
Ai1wm_Staging_Controller::deploy();
|
| 324 |
break;
|
| 325 |
|
| 326 |
case 'production':
|
| 327 |
-
Ai1wm_Production_Controller::deploy();
|
| 328 |
break;
|
| 329 |
}
|
| 330 |
}
|
| 71 |
add_action( 'admin_menu', array( $this, 'admin_menu' ) );
|
| 72 |
}
|
| 73 |
add_action( 'admin_head', array( $this, 'admin_head' ) );
|
| 74 |
+
add_action( 'admin_init', array( $this, 'router' ) );
|
| 75 |
add_action( 'wp_ajax_leave_feedback', 'Ai1wm_Feedback_Controller::leave_feedback' );
|
| 76 |
add_action( 'wp_ajax_report_problem', 'Ai1wm_Report_Controller::report_problem' );
|
| 77 |
add_action( 'wp_ajax_import', 'Ai1wm_Import_Controller::import' );
|
| 316 |
if ( isset( $_POST['options']['action'] ) && ( $action = $_POST['options']['action'] ) ) {
|
| 317 |
switch ( $action ) {
|
| 318 |
case 'export':
|
| 319 |
+
if ( current_user_can( 'export' ) ) {
|
| 320 |
+
Ai1wm_Export_Controller::export();
|
| 321 |
+
}
|
| 322 |
break;
|
| 323 |
|
| 324 |
case 'staging':
|
|
|
|
| 325 |
break;
|
| 326 |
|
| 327 |
case 'production':
|
|
|
|
| 328 |
break;
|
| 329 |
}
|
| 330 |
}
|
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: 2.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.
|
|
@@ -61,6 +61,9 @@ All in One WP Plugin is the first plugin to offer true mobile experience on Word
|
|
| 61 |
3. Plugin Menu
|
| 62 |
|
| 63 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
| 64 |
= 2.0.4 =
|
| 65 |
* Update readme to reflect that the plugin is not multisite compatible
|
| 66 |
|
| 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: 2.0.5
|
| 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.
|
| 61 |
3. Plugin Menu
|
| 62 |
|
| 63 |
== Changelog ==
|
| 64 |
+
= 2.0.5 =
|
| 65 |
+
* Fixed a security issue where permissions were not checked during export/import. Thank you James Golovich for reporting. You can find more details on his website, [http://www.pritect.net](http://www.pritect.net)
|
| 66 |
+
|
| 67 |
= 2.0.4 =
|
| 68 |
* Update readme to reflect that the plugin is not multisite compatible
|
| 69 |
|
