Version Description
- Fixed a security issue when importing site using regular users
Download this release
Release Info
Developer | bangelov |
Plugin | All-in-One WP Migration |
Version | 2.0.3 |
Comparing to | |
See all releases |
Code changes from version 2.0.2 to 2.0.3
- all-in-one-wp-migration.php +1 -1
- constants.php +1 -1
- lib/controller/class-ai1wm-import-controller.php +5 -0
- 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.3
|
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.3' );
|
30 |
|
31 |
// ===============
|
32 |
// = Plugin Name =
|
lib/controller/class-ai1wm-import-controller.php
CHANGED
@@ -48,6 +48,11 @@ class Ai1wm_Import_Controller
|
|
48 |
set_error_handler( array( 'Ai1wm_Error', 'error_handler' ) );
|
49 |
set_exception_handler( array( 'Ai1wm_Error', 'exception_handler' ) );
|
50 |
|
|
|
|
|
|
|
|
|
|
|
51 |
$messages = array();
|
52 |
|
53 |
if ( isset( $_FILES['upload-file'] ) || isset( $_REQUEST['force'] ) ) {
|
48 |
set_error_handler( array( 'Ai1wm_Error', 'error_handler' ) );
|
49 |
set_exception_handler( array( 'Ai1wm_Error', 'exception_handler' ) );
|
50 |
|
51 |
+
// Verify capabilities
|
52 |
+
if ( ! current_user_can( 'import' ) ) {
|
53 |
+
wp_die( 'Unable to process the request.' );
|
54 |
+
}
|
55 |
+
|
56 |
$messages = array();
|
57 |
|
58 |
if ( isset( $_FILES['upload-file'] ) || isset( $_REQUEST['force'] ) ) {
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: yani.iliev, bangelov, mirkov
|
|
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.0
|
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.2 =
|
65 |
* Added support for WordPress v4.0
|
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.0
|
6 |
+
Stable tag: 2.0.3
|
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.3 =
|
65 |
+
* Fixed a security issue when importing site using regular users
|
66 |
+
|
67 |
= 2.0.2 =
|
68 |
* Added support for WordPress v4.0
|
69 |
|