All-in-One WP Migration - Version 4.16

Version Description

Download this release

Release Info

Developer bangelov
Plugin Icon 128x128 All-in-One WP Migration
Version 4.16
Comparing to
See all releases

Code changes from version 4.15 to 4.16

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: 4.15
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: 4.16
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', '4.15' );
42
 
43
  // ===============
44
  // = Plugin Name =
38
  // ==================
39
  // = Plugin Version =
40
  // ==================
41
+ define( 'AI1WM_VERSION', '4.16' );
42
 
43
  // ===============
44
  // = Plugin Name =
lib/controller/class-ai1wm-main-controller.php CHANGED
@@ -552,30 +552,30 @@ class Ai1wm_Main_Controller {
552
  );
553
  wp_localize_script( 'ai1wm-js-export', 'ai1wm_feedback', array(
554
  'ajax' => array(
555
- 'url' => admin_url( 'admin-ajax.php?action=ai1wm_leave_feedback' ),
556
  ),
557
  ) );
558
  wp_localize_script( 'ai1wm-js-export', 'ai1wm_report', array(
559
  'ajax' => array(
560
- 'url' => admin_url( 'admin-ajax.php?action=ai1wm_report_problem' ),
561
  ),
562
  ) );
563
  wp_localize_script( 'ai1wm-js-export', 'ai1wm_message', array(
564
  'ajax' => array(
565
- 'url' => admin_url( 'admin-ajax.php?action=ai1wm_close_message' ),
566
  ),
567
  ) );
568
  wp_localize_script( 'ai1wm-js-export', 'ai1wm_maintenance', array(
569
  'ajax' => array(
570
- 'url' => admin_url( 'admin-ajax.php?action=ai1wm_disable_maintenance' ),
571
  ),
572
  ) );
573
  wp_localize_script( 'ai1wm-js-export', 'ai1wm_export', array(
574
  'ajax' => array(
575
- 'url' => admin_url( 'admin-ajax.php?action=ai1wm_export' ),
576
  ),
577
  'status' => array(
578
- 'url' => AI1WM_STORAGE_URL,
579
  ),
580
  'secret_key' => get_site_option( AI1WM_SECRET_KEY, false, false ),
581
  ) );
@@ -599,22 +599,22 @@ class Ai1wm_Main_Controller {
599
  );
600
  wp_localize_script( 'ai1wm-js-backup', 'ai1wm_feedback', array(
601
  'ajax' => array(
602
- 'url' => admin_url( 'admin-ajax.php?action=ai1wm_leave_feedback' ),
603
  ),
604
  ) );
605
  wp_localize_script( 'ai1wm-js-backup', 'ai1wm_report', array(
606
  'ajax' => array(
607
- 'url' => admin_url( 'admin-ajax.php?action=ai1wm_report_problem' ),
608
  ),
609
  ) );
610
  wp_localize_script( 'ai1wm-js-backup', 'ai1wm_maintenance', array(
611
  'ajax' => array(
612
- 'url' => admin_url( 'admin-ajax.php?action=ai1wm_disable_maintenance' ),
613
  ),
614
  ) );
615
  wp_localize_script( 'ai1wm-js-backup', 'ai1wm_backup', array(
616
  'ajax' => array(
617
- 'url' => admin_url( 'admin-ajax.php?action=ai1wm_backup_delete' ),
618
  ),
619
  ) );
620
  }
@@ -647,7 +647,7 @@ class Ai1wm_Main_Controller {
647
  'file_data_name' => 'upload-file',
648
  'chunk_size' => apply_filters( 'ai1wm_max_chunk_size', AI1WM_MAX_CHUNK_SIZE ),
649
  'max_retries' => apply_filters( 'ai1wm_max_chunk_retries', AI1WM_MAX_CHUNK_RETRIES ),
650
- 'url' => admin_url( 'admin-ajax.php?action=ai1wm_import' ),
651
  'flash_swf_url' => includes_url( 'js/plupload/plupload.flash.swf' ),
652
  'silverlight_xap_url' => includes_url( 'js/plupload/plupload.silverlight.xap' ),
653
  'multiple_queues' => false,
@@ -667,25 +667,25 @@ class Ai1wm_Main_Controller {
667
  ) );
668
  wp_localize_script( 'ai1wm-js-import', 'ai1wm_feedback', array(
669
  'ajax' => array(
670
- 'url' => admin_url( 'admin-ajax.php?action=ai1wm_leave_feedback' ),
671
  ),
672
  ) );
673
  wp_localize_script( 'ai1wm-js-import', 'ai1wm_report', array(
674
  'ajax' => array(
675
- 'url' => admin_url( 'admin-ajax.php?action=ai1wm_report_problem' ),
676
  ),
677
  ) );
678
  wp_localize_script( 'ai1wm-js-import', 'ai1wm_maintenance', array(
679
  'ajax' => array(
680
- 'url' => admin_url( 'admin-ajax.php?action=ai1wm_disable_maintenance' ),
681
  ),
682
  ) );
683
  wp_localize_script( 'ai1wm-js-import', 'ai1wm_import', array(
684
  'ajax' => array(
685
- 'url' => admin_url( 'admin-ajax.php?action=ai1wm_import' ),
686
  ),
687
  'status' => array(
688
- 'url' => AI1WM_STORAGE_URL,
689
  ),
690
  'secret_key' => get_site_option( AI1WM_SECRET_KEY, false, false ),
691
  'oversize' => sprintf(
552
  );
553
  wp_localize_script( 'ai1wm-js-export', 'ai1wm_feedback', array(
554
  'ajax' => array(
555
+ 'url' => wp_make_link_relative( admin_url( 'admin-ajax.php?action=ai1wm_leave_feedback' ) ),
556
  ),
557
  ) );
558
  wp_localize_script( 'ai1wm-js-export', 'ai1wm_report', array(
559
  'ajax' => array(
560
+ 'url' => wp_make_link_relative( admin_url( 'admin-ajax.php?action=ai1wm_report_problem' ) ),
561
  ),
562
  ) );
563
  wp_localize_script( 'ai1wm-js-export', 'ai1wm_message', array(
564
  'ajax' => array(
565
+ 'url' => wp_make_link_relative( admin_url( 'admin-ajax.php?action=ai1wm_close_message' ) ),
566
  ),
567
  ) );
568
  wp_localize_script( 'ai1wm-js-export', 'ai1wm_maintenance', array(
569
  'ajax' => array(
570
+ 'url' => wp_make_link_relative( admin_url( 'admin-ajax.php?action=ai1wm_disable_maintenance' ) ),
571
  ),
572
  ) );
573
  wp_localize_script( 'ai1wm-js-export', 'ai1wm_export', array(
574
  'ajax' => array(
575
+ 'url' => wp_make_link_relative( admin_url( 'admin-ajax.php?action=ai1wm_export' ) ),
576
  ),
577
  'status' => array(
578
+ 'url' => wp_make_link_relative( AI1WM_STORAGE_URL ),
579
  ),
580
  'secret_key' => get_site_option( AI1WM_SECRET_KEY, false, false ),
581
  ) );
599
  );
600
  wp_localize_script( 'ai1wm-js-backup', 'ai1wm_feedback', array(
601
  'ajax' => array(
602
+ 'url' => wp_make_link_relative( admin_url( 'admin-ajax.php?action=ai1wm_leave_feedback' ) ),
603
  ),
604
  ) );
605
  wp_localize_script( 'ai1wm-js-backup', 'ai1wm_report', array(
606
  'ajax' => array(
607
+ 'url' => wp_make_link_relative( admin_url( 'admin-ajax.php?action=ai1wm_report_problem' ) ),
608
  ),
609
  ) );
610
  wp_localize_script( 'ai1wm-js-backup', 'ai1wm_maintenance', array(
611
  'ajax' => array(
612
+ 'url' => wp_make_link_relative( admin_url( 'admin-ajax.php?action=ai1wm_disable_maintenance' ) ),
613
  ),
614
  ) );
615
  wp_localize_script( 'ai1wm-js-backup', 'ai1wm_backup', array(
616
  'ajax' => array(
617
+ 'url' => wp_make_link_relative( admin_url( 'admin-ajax.php?action=ai1wm_backup_delete' ) ),
618
  ),
619
  ) );
620
  }
647
  'file_data_name' => 'upload-file',
648
  'chunk_size' => apply_filters( 'ai1wm_max_chunk_size', AI1WM_MAX_CHUNK_SIZE ),
649
  'max_retries' => apply_filters( 'ai1wm_max_chunk_retries', AI1WM_MAX_CHUNK_RETRIES ),
650
+ 'url' => wp_make_link_relative( admin_url( 'admin-ajax.php?action=ai1wm_import' ) ),
651
  'flash_swf_url' => includes_url( 'js/plupload/plupload.flash.swf' ),
652
  'silverlight_xap_url' => includes_url( 'js/plupload/plupload.silverlight.xap' ),
653
  'multiple_queues' => false,
667
  ) );
668
  wp_localize_script( 'ai1wm-js-import', 'ai1wm_feedback', array(
669
  'ajax' => array(
670
+ 'url' => wp_make_link_relative( admin_url( 'admin-ajax.php?action=ai1wm_leave_feedback' ) ),
671
  ),
672
  ) );
673
  wp_localize_script( 'ai1wm-js-import', 'ai1wm_report', array(
674
  'ajax' => array(
675
+ 'url' => wp_make_link_relative( admin_url( 'admin-ajax.php?action=ai1wm_report_problem' ) ),
676
  ),
677
  ) );
678
  wp_localize_script( 'ai1wm-js-import', 'ai1wm_maintenance', array(
679
  'ajax' => array(
680
+ 'url' => wp_make_link_relative( admin_url( 'admin-ajax.php?action=ai1wm_disable_maintenance' ) ),
681
  ),
682
  ) );
683
  wp_localize_script( 'ai1wm-js-import', 'ai1wm_import', array(
684
  'ajax' => array(
685
+ 'url' => wp_make_link_relative( admin_url( 'admin-ajax.php?action=ai1wm_import' ) ),
686
  ),
687
  'status' => array(
688
+ 'url' => wp_make_link_relative( AI1WM_STORAGE_URL ),
689
  ),
690
  'secret_key' => get_site_option( AI1WM_SECRET_KEY, false, false ),
691
  'oversize' => sprintf(
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.3
6
- Stable tag: 4.15
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.
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.3
6
+ Stable tag: 4.16
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.