Version Description
Fixed
- Remove deprecated jQuery methods
Download this release
Release Info
| Developer | bangelov |
| Plugin | |
| Version | 7.39 |
| Comparing to | |
| See all releases | |
Code changes from version 7.38 to 7.39
- all-in-one-wp-migration.php +1 -1
- constants.php +1 -1
- lib/view/assets/javascript/backups.min.js +21 -21
- lib/view/assets/javascript/export.min.js +14 -14
- lib/view/assets/javascript/import.min.js +15 -15
- lib/view/assets/javascript/settings.min.js +7 -7
- lib/view/assets/javascript/updater.min.js +2 -2
- lib/view/assets/javascript/util.min.js +1 -1
- readme.txt +6 -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: 7.
|
| 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: 7.39
|
| 9 |
* Text Domain: all-in-one-wp-migration
|
| 10 |
* Domain Path: /languages
|
| 11 |
* Network: True
|
constants.php
CHANGED
|
@@ -35,7 +35,7 @@ define( 'AI1WM_DEBUG', false );
|
|
| 35 |
// ==================
|
| 36 |
// = Plugin Version =
|
| 37 |
// ==================
|
| 38 |
-
define( 'AI1WM_VERSION', '7.
|
| 39 |
|
| 40 |
// ===============
|
| 41 |
// = Plugin Name =
|
| 35 |
// ==================
|
| 36 |
// = Plugin Version =
|
| 37 |
// ==================
|
| 38 |
+
define( 'AI1WM_VERSION', '7.39' );
|
| 39 |
|
| 40 |
// ===============
|
| 41 |
// = Plugin Name =
|
lib/view/assets/javascript/backups.min.js
CHANGED
|
@@ -428,7 +428,7 @@ var Modal = function Modal() {
|
|
| 428 |
container.append(section).append(action); // Render modal
|
| 429 |
|
| 430 |
self.modal.html(container).show();
|
| 431 |
-
self.modal.focus
|
| 432 |
self.overlay.show();
|
| 433 |
}; // Info Modal
|
| 434 |
|
|
@@ -463,7 +463,7 @@ var Modal = function Modal() {
|
|
| 463 |
container.append(section).append(action); // Render modal
|
| 464 |
|
| 465 |
self.modal.html(container).show();
|
| 466 |
-
self.modal.focus
|
| 467 |
self.overlay.show();
|
| 468 |
}; // Done Modal
|
| 469 |
|
|
@@ -497,7 +497,7 @@ var Modal = function Modal() {
|
|
| 497 |
container.append(section).append(action); // Render modal
|
| 498 |
|
| 499 |
self.modal.html(container).show();
|
| 500 |
-
self.modal.focus
|
| 501 |
self.overlay.show();
|
| 502 |
}; // Download Modal
|
| 503 |
|
|
@@ -525,7 +525,7 @@ var Modal = function Modal() {
|
|
| 525 |
container.append(section).append(action); // Render modal
|
| 526 |
|
| 527 |
self.modal.html(container).show();
|
| 528 |
-
self.modal.focus
|
| 529 |
self.overlay.show();
|
| 530 |
}; // Create the overlay
|
| 531 |
|
|
@@ -1143,7 +1143,7 @@ var Modal = function Modal() {
|
|
| 1143 |
container.append(section).append(action); // Render modal
|
| 1144 |
|
| 1145 |
self.modal.html(container).show();
|
| 1146 |
-
self.modal.focus
|
| 1147 |
self.overlay.show();
|
| 1148 |
}; // Progress Modal
|
| 1149 |
|
|
@@ -1193,7 +1193,7 @@ var Modal = function Modal() {
|
|
| 1193 |
container.append(section).append(action); // Render modal
|
| 1194 |
|
| 1195 |
self.modal.html(container).show();
|
| 1196 |
-
self.modal.focus
|
| 1197 |
self.overlay.show();
|
| 1198 |
}; // Pro Modal
|
| 1199 |
|
|
@@ -1227,7 +1227,7 @@ var Modal = function Modal() {
|
|
| 1227 |
container.append(section).append(action); // Render modal
|
| 1228 |
|
| 1229 |
self.modal.html(container).show();
|
| 1230 |
-
self.modal.focus
|
| 1231 |
self.overlay.show();
|
| 1232 |
}; // Confirm Modal
|
| 1233 |
|
|
@@ -1271,7 +1271,7 @@ var Modal = function Modal() {
|
|
| 1271 |
container.append(section).append(action); // Render modal
|
| 1272 |
|
| 1273 |
self.modal.html(container).show();
|
| 1274 |
-
self.modal.focus
|
| 1275 |
self.overlay.show();
|
| 1276 |
}; // Disk space Confirm Modal
|
| 1277 |
|
|
@@ -1314,7 +1314,7 @@ var Modal = function Modal() {
|
|
| 1314 |
container.append(section).append(action); // Render modal
|
| 1315 |
|
| 1316 |
self.modal.html(container).show();
|
| 1317 |
-
self.modal.focus
|
| 1318 |
self.overlay.show();
|
| 1319 |
}; // Blogs Modal
|
| 1320 |
|
|
@@ -1350,7 +1350,7 @@ var Modal = function Modal() {
|
|
| 1350 |
container.append(section).append(action); // Render modal
|
| 1351 |
|
| 1352 |
self.modal.html(container).show();
|
| 1353 |
-
self.modal.focus
|
| 1354 |
self.overlay.show();
|
| 1355 |
}; // Info Modal
|
| 1356 |
|
|
@@ -1384,7 +1384,7 @@ var Modal = function Modal() {
|
|
| 1384 |
container.append(section).append(action); // Render modal
|
| 1385 |
|
| 1386 |
self.modal.html(container).show();
|
| 1387 |
-
self.modal.focus
|
| 1388 |
self.overlay.show();
|
| 1389 |
}; // Done Modal
|
| 1390 |
|
|
@@ -1418,7 +1418,7 @@ var Modal = function Modal() {
|
|
| 1418 |
container.append(section).append(action); // Render modal
|
| 1419 |
|
| 1420 |
self.modal.html(container).show();
|
| 1421 |
-
self.modal.focus
|
| 1422 |
self.overlay.show();
|
| 1423 |
}; // Create the overlay
|
| 1424 |
|
|
@@ -1506,7 +1506,7 @@ module.exports = Modal;
|
|
| 1506 |
jQuery(document).ready(function ($) {
|
| 1507 |
'use strict'; // Idea
|
| 1508 |
|
| 1509 |
-
$('#ai1wm-feedback-type-link-1').click
|
| 1510 |
var radio = $('#ai1wm-feedback-type-1');
|
| 1511 |
|
| 1512 |
if (radio.is(':checked')) {
|
|
@@ -1516,7 +1516,7 @@ jQuery(document).ready(function ($) {
|
|
| 1516 |
}
|
| 1517 |
}); // Help
|
| 1518 |
|
| 1519 |
-
$('#ai1wm-feedback-type-2').click
|
| 1520 |
// Hide other options
|
| 1521 |
$('#ai1wm-feedback-type-1').closest('li').hide(); // Change placeholder message
|
| 1522 |
|
|
@@ -1525,14 +1525,14 @@ jQuery(document).ready(function ($) {
|
|
| 1525 |
$('.ai1wm-feedback-form').fadeIn();
|
| 1526 |
}); // Cancel feedback form
|
| 1527 |
|
| 1528 |
-
$('#ai1wm-feedback-cancel').click
|
| 1529 |
$('.ai1wm-feedback-form').fadeOut(function () {
|
| 1530 |
$('.ai1wm-feedback-type').attr('checked', false).closest('li').show();
|
| 1531 |
});
|
| 1532 |
e.preventDefault();
|
| 1533 |
}); // Send feedback form
|
| 1534 |
|
| 1535 |
-
$('#ai1wm-feedback-submit').click
|
| 1536 |
var self = $(this);
|
| 1537 |
var spinner = self.next();
|
| 1538 |
var type = $('.ai1wm-feedback-type:checked').val();
|
|
@@ -1608,15 +1608,15 @@ jQuery(document).ready(function ($) {
|
|
| 1608 |
jQuery(document).ready(function ($) {
|
| 1609 |
'use strict';
|
| 1610 |
|
| 1611 |
-
$('#ai1wm-report-problem-button').click
|
| 1612 |
$(this).next('.ai1wm-report-problem-dialog').toggleClass('ai1wm-report-active');
|
| 1613 |
e.preventDefault();
|
| 1614 |
});
|
| 1615 |
-
$('#ai1wm-report-cancel').click
|
| 1616 |
$(this).closest('.ai1wm-report-problem-dialog').removeClass('ai1wm-report-active');
|
| 1617 |
e.preventDefault();
|
| 1618 |
});
|
| 1619 |
-
$('#ai1wm-report-submit').click
|
| 1620 |
var self = $(this);
|
| 1621 |
var spinner = self.next();
|
| 1622 |
var email = $('.ai1wm-report-email').val();
|
|
@@ -1803,7 +1803,7 @@ jQuery(document).ready(function ($) {
|
|
| 1803 |
$('#ai1wm-backups-list').on('click', '.ai1wm-backup-label-description, .ai1wm-backup-label-text', function () {
|
| 1804 |
$(this).hide();
|
| 1805 |
$(this).closest('.ai1wm-column-name').find('.ai1wm-backup-label-holder').show();
|
| 1806 |
-
$(this).closest('.ai1wm-column-name').find('.ai1wm-backup-label-field').focus
|
| 1807 |
});
|
| 1808 |
$('#ai1wm-backups-list').on('keydown', '.ai1wm-backup-label-field', function (e) {
|
| 1809 |
var self = $(this);
|
|
@@ -1876,7 +1876,7 @@ jQuery(document).ready(function ($) {
|
|
| 1876 |
}
|
| 1877 |
});
|
| 1878 |
model = new Export();
|
| 1879 |
-
$('#ai1wm-create-backup').click
|
| 1880 |
var storage = Ai1wm.Util.random(12);
|
| 1881 |
var options = Ai1wm.Util.form('#ai1wm-export-form').concat({
|
| 1882 |
name: 'storage',
|
| 428 |
container.append(section).append(action); // Render modal
|
| 429 |
|
| 430 |
self.modal.html(container).show();
|
| 431 |
+
self.modal.trigger('focus');
|
| 432 |
self.overlay.show();
|
| 433 |
}; // Info Modal
|
| 434 |
|
| 463 |
container.append(section).append(action); // Render modal
|
| 464 |
|
| 465 |
self.modal.html(container).show();
|
| 466 |
+
self.modal.trigger('focus');
|
| 467 |
self.overlay.show();
|
| 468 |
}; // Done Modal
|
| 469 |
|
| 497 |
container.append(section).append(action); // Render modal
|
| 498 |
|
| 499 |
self.modal.html(container).show();
|
| 500 |
+
self.modal.trigger('focus');
|
| 501 |
self.overlay.show();
|
| 502 |
}; // Download Modal
|
| 503 |
|
| 525 |
container.append(section).append(action); // Render modal
|
| 526 |
|
| 527 |
self.modal.html(container).show();
|
| 528 |
+
self.modal.trigger('focus');
|
| 529 |
self.overlay.show();
|
| 530 |
}; // Create the overlay
|
| 531 |
|
| 1143 |
container.append(section).append(action); // Render modal
|
| 1144 |
|
| 1145 |
self.modal.html(container).show();
|
| 1146 |
+
self.modal.trigger('focus');
|
| 1147 |
self.overlay.show();
|
| 1148 |
}; // Progress Modal
|
| 1149 |
|
| 1193 |
container.append(section).append(action); // Render modal
|
| 1194 |
|
| 1195 |
self.modal.html(container).show();
|
| 1196 |
+
self.modal.trigger('focus');
|
| 1197 |
self.overlay.show();
|
| 1198 |
}; // Pro Modal
|
| 1199 |
|
| 1227 |
container.append(section).append(action); // Render modal
|
| 1228 |
|
| 1229 |
self.modal.html(container).show();
|
| 1230 |
+
self.modal.trigger('focus');
|
| 1231 |
self.overlay.show();
|
| 1232 |
}; // Confirm Modal
|
| 1233 |
|
| 1271 |
container.append(section).append(action); // Render modal
|
| 1272 |
|
| 1273 |
self.modal.html(container).show();
|
| 1274 |
+
self.modal.trigger('focus');
|
| 1275 |
self.overlay.show();
|
| 1276 |
}; // Disk space Confirm Modal
|
| 1277 |
|
| 1314 |
container.append(section).append(action); // Render modal
|
| 1315 |
|
| 1316 |
self.modal.html(container).show();
|
| 1317 |
+
self.modal.trigger('focus');
|
| 1318 |
self.overlay.show();
|
| 1319 |
}; // Blogs Modal
|
| 1320 |
|
| 1350 |
container.append(section).append(action); // Render modal
|
| 1351 |
|
| 1352 |
self.modal.html(container).show();
|
| 1353 |
+
self.modal.trigger('focus');
|
| 1354 |
self.overlay.show();
|
| 1355 |
}; // Info Modal
|
| 1356 |
|
| 1384 |
container.append(section).append(action); // Render modal
|
| 1385 |
|
| 1386 |
self.modal.html(container).show();
|
| 1387 |
+
self.modal.trigger('focus');
|
| 1388 |
self.overlay.show();
|
| 1389 |
}; // Done Modal
|
| 1390 |
|
| 1418 |
container.append(section).append(action); // Render modal
|
| 1419 |
|
| 1420 |
self.modal.html(container).show();
|
| 1421 |
+
self.modal.trigger('focus');
|
| 1422 |
self.overlay.show();
|
| 1423 |
}; // Create the overlay
|
| 1424 |
|
| 1506 |
jQuery(document).ready(function ($) {
|
| 1507 |
'use strict'; // Idea
|
| 1508 |
|
| 1509 |
+
$('#ai1wm-feedback-type-link-1').on('click', function () {
|
| 1510 |
var radio = $('#ai1wm-feedback-type-1');
|
| 1511 |
|
| 1512 |
if (radio.is(':checked')) {
|
| 1516 |
}
|
| 1517 |
}); // Help
|
| 1518 |
|
| 1519 |
+
$('#ai1wm-feedback-type-2').on('click', function () {
|
| 1520 |
// Hide other options
|
| 1521 |
$('#ai1wm-feedback-type-1').closest('li').hide(); // Change placeholder message
|
| 1522 |
|
| 1525 |
$('.ai1wm-feedback-form').fadeIn();
|
| 1526 |
}); // Cancel feedback form
|
| 1527 |
|
| 1528 |
+
$('#ai1wm-feedback-cancel').on('click', function (e) {
|
| 1529 |
$('.ai1wm-feedback-form').fadeOut(function () {
|
| 1530 |
$('.ai1wm-feedback-type').attr('checked', false).closest('li').show();
|
| 1531 |
});
|
| 1532 |
e.preventDefault();
|
| 1533 |
}); // Send feedback form
|
| 1534 |
|
| 1535 |
+
$('#ai1wm-feedback-submit').on('click', function (e) {
|
| 1536 |
var self = $(this);
|
| 1537 |
var spinner = self.next();
|
| 1538 |
var type = $('.ai1wm-feedback-type:checked').val();
|
| 1608 |
jQuery(document).ready(function ($) {
|
| 1609 |
'use strict';
|
| 1610 |
|
| 1611 |
+
$('#ai1wm-report-problem-button').on('click', function (e) {
|
| 1612 |
$(this).next('.ai1wm-report-problem-dialog').toggleClass('ai1wm-report-active');
|
| 1613 |
e.preventDefault();
|
| 1614 |
});
|
| 1615 |
+
$('#ai1wm-report-cancel').on('click', function (e) {
|
| 1616 |
$(this).closest('.ai1wm-report-problem-dialog').removeClass('ai1wm-report-active');
|
| 1617 |
e.preventDefault();
|
| 1618 |
});
|
| 1619 |
+
$('#ai1wm-report-submit').on('click', function (e) {
|
| 1620 |
var self = $(this);
|
| 1621 |
var spinner = self.next();
|
| 1622 |
var email = $('.ai1wm-report-email').val();
|
| 1803 |
$('#ai1wm-backups-list').on('click', '.ai1wm-backup-label-description, .ai1wm-backup-label-text', function () {
|
| 1804 |
$(this).hide();
|
| 1805 |
$(this).closest('.ai1wm-column-name').find('.ai1wm-backup-label-holder').show();
|
| 1806 |
+
$(this).closest('.ai1wm-column-name').find('.ai1wm-backup-label-field').trigger('focus');
|
| 1807 |
});
|
| 1808 |
$('#ai1wm-backups-list').on('keydown', '.ai1wm-backup-label-field', function (e) {
|
| 1809 |
var self = $(this);
|
| 1876 |
}
|
| 1877 |
});
|
| 1878 |
model = new Export();
|
| 1879 |
+
$('#ai1wm-create-backup').on('click', function (e) {
|
| 1880 |
var storage = Ai1wm.Util.random(12);
|
| 1881 |
var options = Ai1wm.Util.form('#ai1wm-export-form').concat({
|
| 1882 |
name: 'storage',
|
lib/view/assets/javascript/export.min.js
CHANGED
|
@@ -388,7 +388,7 @@ var Modal = function Modal() {
|
|
| 388 |
container.append(section).append(action); // Render modal
|
| 389 |
|
| 390 |
self.modal.html(container).show();
|
| 391 |
-
self.modal.focus
|
| 392 |
self.overlay.show();
|
| 393 |
}; // Info Modal
|
| 394 |
|
|
@@ -423,7 +423,7 @@ var Modal = function Modal() {
|
|
| 423 |
container.append(section).append(action); // Render modal
|
| 424 |
|
| 425 |
self.modal.html(container).show();
|
| 426 |
-
self.modal.focus
|
| 427 |
self.overlay.show();
|
| 428 |
}; // Done Modal
|
| 429 |
|
|
@@ -457,7 +457,7 @@ var Modal = function Modal() {
|
|
| 457 |
container.append(section).append(action); // Render modal
|
| 458 |
|
| 459 |
self.modal.html(container).show();
|
| 460 |
-
self.modal.focus
|
| 461 |
self.overlay.show();
|
| 462 |
}; // Download Modal
|
| 463 |
|
|
@@ -485,7 +485,7 @@ var Modal = function Modal() {
|
|
| 485 |
container.append(section).append(action); // Render modal
|
| 486 |
|
| 487 |
self.modal.html(container).show();
|
| 488 |
-
self.modal.focus
|
| 489 |
self.overlay.show();
|
| 490 |
}; // Create the overlay
|
| 491 |
|
|
@@ -556,7 +556,7 @@ module.exports = Modal;
|
|
| 556 |
*/
|
| 557 |
(function ($) {
|
| 558 |
$.fn.ai1wm_find_replace = function () {
|
| 559 |
-
$(this).click
|
| 560 |
e.preventDefault();
|
| 561 |
var row = $('#ai1wm-queries > li:first').clone(); // Reset input values
|
| 562 |
|
|
@@ -657,7 +657,7 @@ module.exports = Modal;
|
|
| 657 |
jQuery(document).ready(function ($) {
|
| 658 |
'use strict'; // Idea
|
| 659 |
|
| 660 |
-
$('#ai1wm-feedback-type-link-1').click
|
| 661 |
var radio = $('#ai1wm-feedback-type-1');
|
| 662 |
|
| 663 |
if (radio.is(':checked')) {
|
|
@@ -667,7 +667,7 @@ jQuery(document).ready(function ($) {
|
|
| 667 |
}
|
| 668 |
}); // Help
|
| 669 |
|
| 670 |
-
$('#ai1wm-feedback-type-2').click
|
| 671 |
// Hide other options
|
| 672 |
$('#ai1wm-feedback-type-1').closest('li').hide(); // Change placeholder message
|
| 673 |
|
|
@@ -676,14 +676,14 @@ jQuery(document).ready(function ($) {
|
|
| 676 |
$('.ai1wm-feedback-form').fadeIn();
|
| 677 |
}); // Cancel feedback form
|
| 678 |
|
| 679 |
-
$('#ai1wm-feedback-cancel').click
|
| 680 |
$('.ai1wm-feedback-form').fadeOut(function () {
|
| 681 |
$('.ai1wm-feedback-type').attr('checked', false).closest('li').show();
|
| 682 |
});
|
| 683 |
e.preventDefault();
|
| 684 |
}); // Send feedback form
|
| 685 |
|
| 686 |
-
$('#ai1wm-feedback-submit').click
|
| 687 |
var self = $(this);
|
| 688 |
var spinner = self.next();
|
| 689 |
var type = $('.ai1wm-feedback-type:checked').val();
|
|
@@ -759,15 +759,15 @@ jQuery(document).ready(function ($) {
|
|
| 759 |
jQuery(document).ready(function ($) {
|
| 760 |
'use strict';
|
| 761 |
|
| 762 |
-
$('#ai1wm-report-problem-button').click
|
| 763 |
$(this).next('.ai1wm-report-problem-dialog').toggleClass('ai1wm-report-active');
|
| 764 |
e.preventDefault();
|
| 765 |
});
|
| 766 |
-
$('#ai1wm-report-cancel').click
|
| 767 |
$(this).closest('.ai1wm-report-problem-dialog').removeClass('ai1wm-report-active');
|
| 768 |
e.preventDefault();
|
| 769 |
});
|
| 770 |
-
$('#ai1wm-report-submit').click
|
| 771 |
var self = $(this);
|
| 772 |
var spinner = self.next();
|
| 773 |
var email = $('.ai1wm-report-email').val();
|
|
@@ -890,7 +890,7 @@ jQuery(document).ready(function ($) {
|
|
| 890 |
|
| 891 |
var model = new Export(); // Export to file
|
| 892 |
|
| 893 |
-
$('#ai1wm-export-file').click
|
| 894 |
var storage = Ai1wm.Util.random(12);
|
| 895 |
var options = Ai1wm.Util.form('#ai1wm-export-form').concat({
|
| 896 |
name: 'storage',
|
|
@@ -905,7 +905,7 @@ jQuery(document).ready(function ($) {
|
|
| 905 |
model.start();
|
| 906 |
e.preventDefault();
|
| 907 |
});
|
| 908 |
-
$('.ai1wm-accordion > .ai1wm-title').click
|
| 909 |
$(this).parent().toggleClass('ai1wm-active');
|
| 910 |
});
|
| 911 |
$('#ai1wm-add-new-replace-button').ai1wm_find_replace();
|
| 388 |
container.append(section).append(action); // Render modal
|
| 389 |
|
| 390 |
self.modal.html(container).show();
|
| 391 |
+
self.modal.trigger('focus');
|
| 392 |
self.overlay.show();
|
| 393 |
}; // Info Modal
|
| 394 |
|
| 423 |
container.append(section).append(action); // Render modal
|
| 424 |
|
| 425 |
self.modal.html(container).show();
|
| 426 |
+
self.modal.trigger('focus');
|
| 427 |
self.overlay.show();
|
| 428 |
}; // Done Modal
|
| 429 |
|
| 457 |
container.append(section).append(action); // Render modal
|
| 458 |
|
| 459 |
self.modal.html(container).show();
|
| 460 |
+
self.modal.trigger('focus');
|
| 461 |
self.overlay.show();
|
| 462 |
}; // Download Modal
|
| 463 |
|
| 485 |
container.append(section).append(action); // Render modal
|
| 486 |
|
| 487 |
self.modal.html(container).show();
|
| 488 |
+
self.modal.trigger('focus');
|
| 489 |
self.overlay.show();
|
| 490 |
}; // Create the overlay
|
| 491 |
|
| 556 |
*/
|
| 557 |
(function ($) {
|
| 558 |
$.fn.ai1wm_find_replace = function () {
|
| 559 |
+
$(this).on('click', function (e) {
|
| 560 |
e.preventDefault();
|
| 561 |
var row = $('#ai1wm-queries > li:first').clone(); // Reset input values
|
| 562 |
|
| 657 |
jQuery(document).ready(function ($) {
|
| 658 |
'use strict'; // Idea
|
| 659 |
|
| 660 |
+
$('#ai1wm-feedback-type-link-1').on('click', function () {
|
| 661 |
var radio = $('#ai1wm-feedback-type-1');
|
| 662 |
|
| 663 |
if (radio.is(':checked')) {
|
| 667 |
}
|
| 668 |
}); // Help
|
| 669 |
|
| 670 |
+
$('#ai1wm-feedback-type-2').on('click', function () {
|
| 671 |
// Hide other options
|
| 672 |
$('#ai1wm-feedback-type-1').closest('li').hide(); // Change placeholder message
|
| 673 |
|
| 676 |
$('.ai1wm-feedback-form').fadeIn();
|
| 677 |
}); // Cancel feedback form
|
| 678 |
|
| 679 |
+
$('#ai1wm-feedback-cancel').on('click', function (e) {
|
| 680 |
$('.ai1wm-feedback-form').fadeOut(function () {
|
| 681 |
$('.ai1wm-feedback-type').attr('checked', false).closest('li').show();
|
| 682 |
});
|
| 683 |
e.preventDefault();
|
| 684 |
}); // Send feedback form
|
| 685 |
|
| 686 |
+
$('#ai1wm-feedback-submit').on('click', function (e) {
|
| 687 |
var self = $(this);
|
| 688 |
var spinner = self.next();
|
| 689 |
var type = $('.ai1wm-feedback-type:checked').val();
|
| 759 |
jQuery(document).ready(function ($) {
|
| 760 |
'use strict';
|
| 761 |
|
| 762 |
+
$('#ai1wm-report-problem-button').on('click', function (e) {
|
| 763 |
$(this).next('.ai1wm-report-problem-dialog').toggleClass('ai1wm-report-active');
|
| 764 |
e.preventDefault();
|
| 765 |
});
|
| 766 |
+
$('#ai1wm-report-cancel').on('click', function (e) {
|
| 767 |
$(this).closest('.ai1wm-report-problem-dialog').removeClass('ai1wm-report-active');
|
| 768 |
e.preventDefault();
|
| 769 |
});
|
| 770 |
+
$('#ai1wm-report-submit').on('click', function (e) {
|
| 771 |
var self = $(this);
|
| 772 |
var spinner = self.next();
|
| 773 |
var email = $('.ai1wm-report-email').val();
|
| 890 |
|
| 891 |
var model = new Export(); // Export to file
|
| 892 |
|
| 893 |
+
$('#ai1wm-export-file').on('click', function (e) {
|
| 894 |
var storage = Ai1wm.Util.random(12);
|
| 895 |
var options = Ai1wm.Util.form('#ai1wm-export-form').concat({
|
| 896 |
name: 'storage',
|
| 905 |
model.start();
|
| 906 |
e.preventDefault();
|
| 907 |
});
|
| 908 |
+
$('.ai1wm-accordion > .ai1wm-title').on('click', function () {
|
| 909 |
$(this).parent().toggleClass('ai1wm-active');
|
| 910 |
});
|
| 911 |
$('#ai1wm-add-new-replace-button').ai1wm_find_replace();
|
lib/view/assets/javascript/import.min.js
CHANGED
|
@@ -576,7 +576,7 @@ var Modal = function Modal() {
|
|
| 576 |
container.append(section).append(action); // Render modal
|
| 577 |
|
| 578 |
self.modal.html(container).show();
|
| 579 |
-
self.modal.focus
|
| 580 |
self.overlay.show();
|
| 581 |
}; // Progress Modal
|
| 582 |
|
|
@@ -626,7 +626,7 @@ var Modal = function Modal() {
|
|
| 626 |
container.append(section).append(action); // Render modal
|
| 627 |
|
| 628 |
self.modal.html(container).show();
|
| 629 |
-
self.modal.focus
|
| 630 |
self.overlay.show();
|
| 631 |
}; // Pro Modal
|
| 632 |
|
|
@@ -660,7 +660,7 @@ var Modal = function Modal() {
|
|
| 660 |
container.append(section).append(action); // Render modal
|
| 661 |
|
| 662 |
self.modal.html(container).show();
|
| 663 |
-
self.modal.focus
|
| 664 |
self.overlay.show();
|
| 665 |
}; // Confirm Modal
|
| 666 |
|
|
@@ -704,7 +704,7 @@ var Modal = function Modal() {
|
|
| 704 |
container.append(section).append(action); // Render modal
|
| 705 |
|
| 706 |
self.modal.html(container).show();
|
| 707 |
-
self.modal.focus
|
| 708 |
self.overlay.show();
|
| 709 |
}; // Disk space Confirm Modal
|
| 710 |
|
|
@@ -747,7 +747,7 @@ var Modal = function Modal() {
|
|
| 747 |
container.append(section).append(action); // Render modal
|
| 748 |
|
| 749 |
self.modal.html(container).show();
|
| 750 |
-
self.modal.focus
|
| 751 |
self.overlay.show();
|
| 752 |
}; // Blogs Modal
|
| 753 |
|
|
@@ -783,7 +783,7 @@ var Modal = function Modal() {
|
|
| 783 |
container.append(section).append(action); // Render modal
|
| 784 |
|
| 785 |
self.modal.html(container).show();
|
| 786 |
-
self.modal.focus
|
| 787 |
self.overlay.show();
|
| 788 |
}; // Info Modal
|
| 789 |
|
|
@@ -817,7 +817,7 @@ var Modal = function Modal() {
|
|
| 817 |
container.append(section).append(action); // Render modal
|
| 818 |
|
| 819 |
self.modal.html(container).show();
|
| 820 |
-
self.modal.focus
|
| 821 |
self.overlay.show();
|
| 822 |
}; // Done Modal
|
| 823 |
|
|
@@ -851,7 +851,7 @@ var Modal = function Modal() {
|
|
| 851 |
container.append(section).append(action); // Render modal
|
| 852 |
|
| 853 |
self.modal.html(container).show();
|
| 854 |
-
self.modal.focus
|
| 855 |
self.overlay.show();
|
| 856 |
}; // Create the overlay
|
| 857 |
|
|
@@ -1182,7 +1182,7 @@ module.exports = FileUploader;
|
|
| 1182 |
jQuery(document).ready(function ($) {
|
| 1183 |
'use strict'; // Idea
|
| 1184 |
|
| 1185 |
-
$('#ai1wm-feedback-type-link-1').click
|
| 1186 |
var radio = $('#ai1wm-feedback-type-1');
|
| 1187 |
|
| 1188 |
if (radio.is(':checked')) {
|
|
@@ -1192,7 +1192,7 @@ jQuery(document).ready(function ($) {
|
|
| 1192 |
}
|
| 1193 |
}); // Help
|
| 1194 |
|
| 1195 |
-
$('#ai1wm-feedback-type-2').click
|
| 1196 |
// Hide other options
|
| 1197 |
$('#ai1wm-feedback-type-1').closest('li').hide(); // Change placeholder message
|
| 1198 |
|
|
@@ -1201,14 +1201,14 @@ jQuery(document).ready(function ($) {
|
|
| 1201 |
$('.ai1wm-feedback-form').fadeIn();
|
| 1202 |
}); // Cancel feedback form
|
| 1203 |
|
| 1204 |
-
$('#ai1wm-feedback-cancel').click
|
| 1205 |
$('.ai1wm-feedback-form').fadeOut(function () {
|
| 1206 |
$('.ai1wm-feedback-type').attr('checked', false).closest('li').show();
|
| 1207 |
});
|
| 1208 |
e.preventDefault();
|
| 1209 |
}); // Send feedback form
|
| 1210 |
|
| 1211 |
-
$('#ai1wm-feedback-submit').click
|
| 1212 |
var self = $(this);
|
| 1213 |
var spinner = self.next();
|
| 1214 |
var type = $('.ai1wm-feedback-type:checked').val();
|
|
@@ -1284,15 +1284,15 @@ jQuery(document).ready(function ($) {
|
|
| 1284 |
jQuery(document).ready(function ($) {
|
| 1285 |
'use strict';
|
| 1286 |
|
| 1287 |
-
$('#ai1wm-report-problem-button').click
|
| 1288 |
$(this).next('.ai1wm-report-problem-dialog').toggleClass('ai1wm-report-active');
|
| 1289 |
e.preventDefault();
|
| 1290 |
});
|
| 1291 |
-
$('#ai1wm-report-cancel').click
|
| 1292 |
$(this).closest('.ai1wm-report-problem-dialog').removeClass('ai1wm-report-active');
|
| 1293 |
e.preventDefault();
|
| 1294 |
});
|
| 1295 |
-
$('#ai1wm-report-submit').click
|
| 1296 |
var self = $(this);
|
| 1297 |
var spinner = self.next();
|
| 1298 |
var email = $('.ai1wm-report-email').val();
|
| 576 |
container.append(section).append(action); // Render modal
|
| 577 |
|
| 578 |
self.modal.html(container).show();
|
| 579 |
+
self.modal.trigger('focus');
|
| 580 |
self.overlay.show();
|
| 581 |
}; // Progress Modal
|
| 582 |
|
| 626 |
container.append(section).append(action); // Render modal
|
| 627 |
|
| 628 |
self.modal.html(container).show();
|
| 629 |
+
self.modal.trigger('focus');
|
| 630 |
self.overlay.show();
|
| 631 |
}; // Pro Modal
|
| 632 |
|
| 660 |
container.append(section).append(action); // Render modal
|
| 661 |
|
| 662 |
self.modal.html(container).show();
|
| 663 |
+
self.modal.trigger('focus');
|
| 664 |
self.overlay.show();
|
| 665 |
}; // Confirm Modal
|
| 666 |
|
| 704 |
container.append(section).append(action); // Render modal
|
| 705 |
|
| 706 |
self.modal.html(container).show();
|
| 707 |
+
self.modal.trigger('focus');
|
| 708 |
self.overlay.show();
|
| 709 |
}; // Disk space Confirm Modal
|
| 710 |
|
| 747 |
container.append(section).append(action); // Render modal
|
| 748 |
|
| 749 |
self.modal.html(container).show();
|
| 750 |
+
self.modal.trigger('focus');
|
| 751 |
self.overlay.show();
|
| 752 |
}; // Blogs Modal
|
| 753 |
|
| 783 |
container.append(section).append(action); // Render modal
|
| 784 |
|
| 785 |
self.modal.html(container).show();
|
| 786 |
+
self.modal.trigger('focus');
|
| 787 |
self.overlay.show();
|
| 788 |
}; // Info Modal
|
| 789 |
|
| 817 |
container.append(section).append(action); // Render modal
|
| 818 |
|
| 819 |
self.modal.html(container).show();
|
| 820 |
+
self.modal.trigger('focus');
|
| 821 |
self.overlay.show();
|
| 822 |
}; // Done Modal
|
| 823 |
|
| 851 |
container.append(section).append(action); // Render modal
|
| 852 |
|
| 853 |
self.modal.html(container).show();
|
| 854 |
+
self.modal.trigger('focus');
|
| 855 |
self.overlay.show();
|
| 856 |
}; // Create the overlay
|
| 857 |
|
| 1182 |
jQuery(document).ready(function ($) {
|
| 1183 |
'use strict'; // Idea
|
| 1184 |
|
| 1185 |
+
$('#ai1wm-feedback-type-link-1').on('click', function () {
|
| 1186 |
var radio = $('#ai1wm-feedback-type-1');
|
| 1187 |
|
| 1188 |
if (radio.is(':checked')) {
|
| 1192 |
}
|
| 1193 |
}); // Help
|
| 1194 |
|
| 1195 |
+
$('#ai1wm-feedback-type-2').on('click', function () {
|
| 1196 |
// Hide other options
|
| 1197 |
$('#ai1wm-feedback-type-1').closest('li').hide(); // Change placeholder message
|
| 1198 |
|
| 1201 |
$('.ai1wm-feedback-form').fadeIn();
|
| 1202 |
}); // Cancel feedback form
|
| 1203 |
|
| 1204 |
+
$('#ai1wm-feedback-cancel').on('click', function (e) {
|
| 1205 |
$('.ai1wm-feedback-form').fadeOut(function () {
|
| 1206 |
$('.ai1wm-feedback-type').attr('checked', false).closest('li').show();
|
| 1207 |
});
|
| 1208 |
e.preventDefault();
|
| 1209 |
}); // Send feedback form
|
| 1210 |
|
| 1211 |
+
$('#ai1wm-feedback-submit').on('click', function (e) {
|
| 1212 |
var self = $(this);
|
| 1213 |
var spinner = self.next();
|
| 1214 |
var type = $('.ai1wm-feedback-type:checked').val();
|
| 1284 |
jQuery(document).ready(function ($) {
|
| 1285 |
'use strict';
|
| 1286 |
|
| 1287 |
+
$('#ai1wm-report-problem-button').on('click', function (e) {
|
| 1288 |
$(this).next('.ai1wm-report-problem-dialog').toggleClass('ai1wm-report-active');
|
| 1289 |
e.preventDefault();
|
| 1290 |
});
|
| 1291 |
+
$('#ai1wm-report-cancel').on('click', function (e) {
|
| 1292 |
$(this).closest('.ai1wm-report-problem-dialog').removeClass('ai1wm-report-active');
|
| 1293 |
e.preventDefault();
|
| 1294 |
});
|
| 1295 |
+
$('#ai1wm-report-submit').on('click', function (e) {
|
| 1296 |
var self = $(this);
|
| 1297 |
var spinner = self.next();
|
| 1298 |
var email = $('.ai1wm-report-email').val();
|
lib/view/assets/javascript/settings.min.js
CHANGED
|
@@ -30,7 +30,7 @@
|
|
| 30 |
jQuery(document).ready(function ($) {
|
| 31 |
'use strict'; // Idea
|
| 32 |
|
| 33 |
-
$('#ai1wm-feedback-type-link-1').click
|
| 34 |
var radio = $('#ai1wm-feedback-type-1');
|
| 35 |
|
| 36 |
if (radio.is(':checked')) {
|
|
@@ -40,7 +40,7 @@ jQuery(document).ready(function ($) {
|
|
| 40 |
}
|
| 41 |
}); // Help
|
| 42 |
|
| 43 |
-
$('#ai1wm-feedback-type-2').click
|
| 44 |
// Hide other options
|
| 45 |
$('#ai1wm-feedback-type-1').closest('li').hide(); // Change placeholder message
|
| 46 |
|
|
@@ -49,14 +49,14 @@ jQuery(document).ready(function ($) {
|
|
| 49 |
$('.ai1wm-feedback-form').fadeIn();
|
| 50 |
}); // Cancel feedback form
|
| 51 |
|
| 52 |
-
$('#ai1wm-feedback-cancel').click
|
| 53 |
$('.ai1wm-feedback-form').fadeOut(function () {
|
| 54 |
$('.ai1wm-feedback-type').attr('checked', false).closest('li').show();
|
| 55 |
});
|
| 56 |
e.preventDefault();
|
| 57 |
}); // Send feedback form
|
| 58 |
|
| 59 |
-
$('#ai1wm-feedback-submit').click
|
| 60 |
var self = $(this);
|
| 61 |
var spinner = self.next();
|
| 62 |
var type = $('.ai1wm-feedback-type:checked').val();
|
|
@@ -132,15 +132,15 @@ jQuery(document).ready(function ($) {
|
|
| 132 |
jQuery(document).ready(function ($) {
|
| 133 |
'use strict';
|
| 134 |
|
| 135 |
-
$('#ai1wm-report-problem-button').click
|
| 136 |
$(this).next('.ai1wm-report-problem-dialog').toggleClass('ai1wm-report-active');
|
| 137 |
e.preventDefault();
|
| 138 |
});
|
| 139 |
-
$('#ai1wm-report-cancel').click
|
| 140 |
$(this).closest('.ai1wm-report-problem-dialog').removeClass('ai1wm-report-active');
|
| 141 |
e.preventDefault();
|
| 142 |
});
|
| 143 |
-
$('#ai1wm-report-submit').click
|
| 144 |
var self = $(this);
|
| 145 |
var spinner = self.next();
|
| 146 |
var email = $('.ai1wm-report-email').val();
|
| 30 |
jQuery(document).ready(function ($) {
|
| 31 |
'use strict'; // Idea
|
| 32 |
|
| 33 |
+
$('#ai1wm-feedback-type-link-1').on('click', function () {
|
| 34 |
var radio = $('#ai1wm-feedback-type-1');
|
| 35 |
|
| 36 |
if (radio.is(':checked')) {
|
| 40 |
}
|
| 41 |
}); // Help
|
| 42 |
|
| 43 |
+
$('#ai1wm-feedback-type-2').on('click', function () {
|
| 44 |
// Hide other options
|
| 45 |
$('#ai1wm-feedback-type-1').closest('li').hide(); // Change placeholder message
|
| 46 |
|
| 49 |
$('.ai1wm-feedback-form').fadeIn();
|
| 50 |
}); // Cancel feedback form
|
| 51 |
|
| 52 |
+
$('#ai1wm-feedback-cancel').on('click', function (e) {
|
| 53 |
$('.ai1wm-feedback-form').fadeOut(function () {
|
| 54 |
$('.ai1wm-feedback-type').attr('checked', false).closest('li').show();
|
| 55 |
});
|
| 56 |
e.preventDefault();
|
| 57 |
}); // Send feedback form
|
| 58 |
|
| 59 |
+
$('#ai1wm-feedback-submit').on('click', function (e) {
|
| 60 |
var self = $(this);
|
| 61 |
var spinner = self.next();
|
| 62 |
var type = $('.ai1wm-feedback-type:checked').val();
|
| 132 |
jQuery(document).ready(function ($) {
|
| 133 |
'use strict';
|
| 134 |
|
| 135 |
+
$('#ai1wm-report-problem-button').on('click', function (e) {
|
| 136 |
$(this).next('.ai1wm-report-problem-dialog').toggleClass('ai1wm-report-active');
|
| 137 |
e.preventDefault();
|
| 138 |
});
|
| 139 |
+
$('#ai1wm-report-cancel').on('click', function (e) {
|
| 140 |
$(this).closest('.ai1wm-report-problem-dialog').removeClass('ai1wm-report-active');
|
| 141 |
e.preventDefault();
|
| 142 |
});
|
| 143 |
+
$('#ai1wm-report-submit').on('click', function (e) {
|
| 144 |
var self = $(this);
|
| 145 |
var spinner = self.next();
|
| 146 |
var email = $('.ai1wm-report-email').val();
|
lib/view/assets/javascript/updater.min.js
CHANGED
|
@@ -25,7 +25,7 @@
|
|
| 25 |
jQuery(document).ready(function ($) {
|
| 26 |
'use strict';
|
| 27 |
|
| 28 |
-
$('.ai1wm-purchase-add').click
|
| 29 |
var self = $(this);
|
| 30 |
self.attr('disabled', true);
|
| 31 |
var dialog = self.closest('.ai1wm-modal-dialog');
|
|
@@ -66,7 +66,7 @@ jQuery(document).ready(function ($) {
|
|
| 66 |
});
|
| 67 |
e.preventDefault();
|
| 68 |
});
|
| 69 |
-
$('.ai1wm-purchase-discard').click
|
| 70 |
window.location.hash = '';
|
| 71 |
e.preventDefault();
|
| 72 |
});
|
| 25 |
jQuery(document).ready(function ($) {
|
| 26 |
'use strict';
|
| 27 |
|
| 28 |
+
$('.ai1wm-purchase-add').on('click', function (e) {
|
| 29 |
var self = $(this);
|
| 30 |
self.attr('disabled', true);
|
| 31 |
var dialog = self.closest('.ai1wm-modal-dialog');
|
| 66 |
});
|
| 67 |
e.preventDefault();
|
| 68 |
});
|
| 69 |
+
$('.ai1wm-purchase-discard').on('click', function (e) {
|
| 70 |
window.location.hash = '';
|
| 71 |
e.preventDefault();
|
| 72 |
});
|
lib/view/assets/javascript/util.min.js
CHANGED
|
@@ -65,7 +65,7 @@ module.exports = {
|
|
| 65 |
return input;
|
| 66 |
},
|
| 67 |
json: function json(input) {
|
| 68 |
-
if (
|
| 69 |
var result = input.match(/{[\s\S]+}/);
|
| 70 |
|
| 71 |
if (result !== null) {
|
| 65 |
return input;
|
| 66 |
},
|
| 67 |
json: function json(input) {
|
| 68 |
+
if (typeof input === 'string') {
|
| 69 |
var result = input.match(/{[\s\S]+}/);
|
| 70 |
|
| 71 |
if (result !== null) {
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Tags: move, transfer, copy, migrate, backup, clone, restore, db migration, wordp
|
|
| 4 |
Requires at least: 3.3
|
| 5 |
Tested up to: 5.7
|
| 6 |
Requires PHP: 5.2.17
|
| 7 |
-
Stable tag: 7.
|
| 8 |
License: GPLv2 or later
|
| 9 |
|
| 10 |
Move, transfer, copy, migrate, and backup a site with 1-click. Quick, easy, and reliable.
|
|
@@ -108,6 +108,11 @@ Alternatively you can download the plugin using the download button on this page
|
|
| 108 |
All-in-One WP Migration **asks for your consent** to collect **requester's email address** when filling plugin's contact form. [GDPR Compliant Privacy Policy](https://www.iubenda.com/privacy-policy/946881)
|
| 109 |
|
| 110 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 111 |
= 7.38 =
|
| 112 |
**Added**
|
| 113 |
|
| 4 |
Requires at least: 3.3
|
| 5 |
Tested up to: 5.7
|
| 6 |
Requires PHP: 5.2.17
|
| 7 |
+
Stable tag: 7.39
|
| 8 |
License: GPLv2 or later
|
| 9 |
|
| 10 |
Move, transfer, copy, migrate, and backup a site with 1-click. Quick, easy, and reliable.
|
| 108 |
All-in-One WP Migration **asks for your consent** to collect **requester's email address** when filling plugin's contact form. [GDPR Compliant Privacy Policy](https://www.iubenda.com/privacy-policy/946881)
|
| 109 |
|
| 110 |
== Changelog ==
|
| 111 |
+
= 7.39 =
|
| 112 |
+
**Fixed**
|
| 113 |
+
|
| 114 |
+
* Remove deprecated jQuery methods
|
| 115 |
+
|
| 116 |
= 7.38 =
|
| 117 |
**Added**
|
| 118 |
|
