Version Description
Download this release
Release Info
Developer | brainstormworg |
Plugin | Astra Starter Sites |
Version | 2.6.12 |
Comparing to | |
See all releases |
Code changes from version 2.6.11 to 2.6.12
- astra-sites.php +2 -2
- inc/assets/js/admin-page.js +168 -154
- languages/astra-sites.pot +2 -2
- readme.txt +4 -1
astra-sites.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Starter Templates
|
4 |
* Plugin URI: https://wpastra.com/
|
5 |
* Description: Starter Templates is all in one solution for complete starter sites, single page templates, blocks & images. This plugin offers the premium library of ready templates & provides quick access to beautiful Pixabay images that can be imported in your website easily.
|
6 |
-
* Version: 2.6.
|
7 |
* Author: Brainstorm Force
|
8 |
* Author URI: https://www.brainstormforce.com
|
9 |
* Text Domain: astra-sites
|
@@ -19,7 +19,7 @@ if ( ! defined( 'ASTRA_SITES_NAME' ) ) {
|
|
19 |
}
|
20 |
|
21 |
if ( ! defined( 'ASTRA_SITES_VER' ) ) {
|
22 |
-
define( 'ASTRA_SITES_VER', '2.6.
|
23 |
}
|
24 |
|
25 |
if ( ! defined( 'ASTRA_SITES_FILE' ) ) {
|
3 |
* Plugin Name: Starter Templates
|
4 |
* Plugin URI: https://wpastra.com/
|
5 |
* Description: Starter Templates is all in one solution for complete starter sites, single page templates, blocks & images. This plugin offers the premium library of ready templates & provides quick access to beautiful Pixabay images that can be imported in your website easily.
|
6 |
+
* Version: 2.6.12
|
7 |
* Author: Brainstorm Force
|
8 |
* Author URI: https://www.brainstormforce.com
|
9 |
* Text Domain: astra-sites
|
19 |
}
|
20 |
|
21 |
if ( ! defined( 'ASTRA_SITES_VER' ) ) {
|
22 |
+
define( 'ASTRA_SITES_VER', '2.6.12' );
|
23 |
}
|
24 |
|
25 |
if ( ! defined( 'ASTRA_SITES_FILE' ) ) {
|
inc/assets/js/admin-page.js
CHANGED
@@ -535,7 +535,7 @@ var AstraSitesAjaxQueue = (function () {
|
|
535 |
|
536 |
/**
|
537 |
* Try again for import
|
538 |
-
* @param {*} event
|
539 |
*/
|
540 |
tryAgain: function( event ) {
|
541 |
event.preventDefault();
|
@@ -3081,17 +3081,19 @@ var AstraSitesAjaxQueue = (function () {
|
|
3081 |
* Bulk Plugin Active & Install
|
3082 |
*/
|
3083 |
_bulkPluginInstallActivate: function () {
|
3084 |
-
|
3085 |
-
|
|
|
|
|
|
|
|
|
3086 |
}
|
3087 |
|
3088 |
// If has class the skip-plugins then,
|
3089 |
// Avoid installing 3rd party plugins.
|
3090 |
-
var not_installed = astraSitesVars.requiredPlugins.notinstalled || '';
|
3091 |
if ($('.astra-sites-result-preview').hasClass('skip-plugins')) {
|
3092 |
not_installed = [];
|
3093 |
}
|
3094 |
-
var activate_plugins = astraSitesVars.requiredPlugins.inactive || '';
|
3095 |
|
3096 |
// First Install Bulk.
|
3097 |
if (not_installed.length > 0) {
|
@@ -3352,7 +3354,7 @@ var AstraSitesAjaxQueue = (function () {
|
|
3352 |
AstraSitesAdmin.handle_error( response, site_id );
|
3353 |
}
|
3354 |
});
|
3355 |
-
|
3356 |
}, delay);
|
3357 |
|
3358 |
}
|
@@ -3562,184 +3564,192 @@ var AstraSitesAjaxQueue = (function () {
|
|
3562 |
}
|
3563 |
},
|
3564 |
|
3565 |
-
|
3566 |
|
3567 |
-
if (''
|
3568 |
-
|
|
|
|
|
|
|
3569 |
}
|
3570 |
|
3571 |
-
|
3572 |
-
|
3573 |
-
|
3574 |
-
// Add disabled class from import button.
|
3575 |
-
$('.astra-demo-import')
|
3576 |
-
.addClass('disabled not-click-able')
|
3577 |
-
.removeAttr('data-import');
|
3578 |
-
|
3579 |
-
$('.required-plugins').addClass('loading').html('<span class="spinner is-active"></span>');
|
3580 |
|
3581 |
-
|
3582 |
-
|
3583 |
-
|
3584 |
-
|
3585 |
-
|
3586 |
-
|
3587 |
-
_ajax_nonce: astraSitesVars._ajax_nonce,
|
3588 |
-
required_plugins: JSON.stringify(requiredPlugins),
|
3589 |
-
options: AstraSitesAdmin.options_data,
|
3590 |
-
enabledExtensions: AstraSitesAdmin.enabled_extensions,
|
3591 |
-
},
|
3592 |
-
beforeSend: function () {
|
3593 |
-
console.groupCollapsed('Required Plugins');
|
3594 |
-
console.log('Required Plugins of Template:');
|
3595 |
-
console.log(requiredPlugins);
|
3596 |
}
|
3597 |
-
}
|
3598 |
-
.fail(function (jqXHR) {
|
3599 |
-
AstraSitesAdmin._log(jqXHR);
|
3600 |
-
|
3601 |
-
// Remove loader.
|
3602 |
-
$('.required-plugins').removeClass('loading').html('');
|
3603 |
-
AstraSitesAdmin._importFailMessage(jqXHR.status + jqXHR.statusText, 'Required Plugins Failed!', jqXHR);
|
3604 |
-
console.groupEnd();
|
3605 |
-
})
|
3606 |
-
.done(function (response) {
|
3607 |
-
console.log('Required Plugin Status From The Site:');
|
3608 |
-
AstraSitesAdmin._log(response);
|
3609 |
-
console.groupEnd();
|
3610 |
-
if (AstraSitesAdmin.subscribe_skiped || AstraSitesAdmin.subscription_form_submitted == 'yes') {
|
3611 |
-
$('.user-building-for-title').hide();
|
3612 |
-
$('.astra-sites-advanced-options-heading').hide();
|
3613 |
-
$('.astra-sites-advanced-options').show();
|
3614 |
-
$('#astra-sites-subscription-form-one').hide();
|
3615 |
-
}
|
3616 |
-
if (false === AstraSitesAdmin.subscribe_skiped && $('.subscription-enabled').length && AstraSitesAdmin.subscription_form_submitted !== 'yes') {
|
3617 |
-
$('.astra-sites-result-preview .heading h3').html(astraSitesVars.headings.subscription);
|
3618 |
-
$('.site-import-cancel').hide();
|
3619 |
-
|
3620 |
-
if ('site-pages' === AstraSitesAdmin.action_slug) {
|
3621 |
-
$('#astra-sites-subscription-form-two').html(wp.template('astra-sites-subscription-form-one'));
|
3622 |
-
$('#astra-sites-subscription-form-two').append(wp.template('astra-sites-subscription-form-two'));
|
3623 |
-
} else {
|
3624 |
-
$('#astra-sites-subscription-form-one').html(wp.template('astra-sites-subscription-form-one'));
|
3625 |
-
$('#astra-sites-subscription-form-two').html(wp.template('astra-sites-subscription-form-two'));
|
3626 |
-
}
|
3627 |
-
}
|
3628 |
-
|
3629 |
-
if (false === response.success) {
|
3630 |
-
AstraSitesAdmin._importFailMessage(response.data, 'Required Plugins Failed!', '', astraSitesVars.importFailedRequiredPluginsMessage);
|
3631 |
-
} else {
|
3632 |
-
required_plugins = response.data['required_plugins'];
|
3633 |
|
3634 |
-
|
3635 |
-
|
|
|
|
|
|
|
|
|
|
|
3636 |
|
3637 |
-
|
|
|
|
|
|
|
3638 |
|
3639 |
-
|
3640 |
|
3641 |
-
|
3642 |
-
|
3643 |
-
|
3644 |
|
3645 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3646 |
|
3647 |
-
|
3648 |
-
|
3649 |
-
|
|
|
|
|
|
|
3650 |
|
3651 |
-
|
3652 |
-
|
3653 |
-
.removeClass('disabled not-click-able')
|
3654 |
-
.attr('data-import', 'disabled');
|
3655 |
|
3656 |
-
|
3657 |
-
|
3658 |
-
|
|
|
3659 |
|
3660 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3661 |
|
3662 |
-
|
3663 |
-
|
3664 |
-
|
3665 |
-
|
3666 |
-
|
3667 |
-
var required_plugins_markup = '';
|
3668 |
|
3669 |
-
|
3670 |
-
|
3671 |
-
*
|
3672 |
-
* List of not installed required plugins.
|
3673 |
-
*/
|
3674 |
-
if (typeof required_plugins.notinstalled !== 'undefined') {
|
3675 |
|
3676 |
-
|
3677 |
-
|
3678 |
|
3679 |
-
|
3680 |
-
|
3681 |
-
|
3682 |
-
}
|
3683 |
|
3684 |
-
|
3685 |
-
|
3686 |
-
|
3687 |
-
* List of not inactive required plugins.
|
3688 |
-
*/
|
3689 |
-
if (typeof required_plugins.inactive !== 'undefined') {
|
3690 |
|
3691 |
-
|
3692 |
-
remaining_plugins += parseInt(required_plugins.inactive.length);
|
3693 |
|
3694 |
-
|
3695 |
-
|
3696 |
-
});
|
3697 |
-
}
|
3698 |
|
3699 |
-
|
3700 |
-
|
3701 |
-
|
3702 |
-
|
3703 |
-
$('.astra-sites-result-preview').find('.required-plugins-list').html(output);
|
3704 |
-
}
|
3705 |
-
if ('yes' === AstraSitesAdmin.first_import_complete && !$('.astra-sites-result-preview').hasClass('import-page')) {
|
3706 |
-
$('.astra-sites-advanced-options').find('.astra-site-contents').prepend(wp.template('astra-sites-delete-previous-site'));
|
3707 |
-
}
|
3708 |
|
3709 |
-
|
3710 |
-
|
3711 |
-
|
3712 |
-
|
3713 |
-
|
|
|
3714 |
|
3715 |
-
|
3716 |
-
$('.astra-sites-result-preview').removeClass('preparing');
|
3717 |
|
3718 |
-
|
3719 |
-
|
|
|
|
|
3720 |
|
3721 |
-
|
3722 |
-
|
3723 |
-
|
3724 |
|
3725 |
-
|
3726 |
-
AstraSitesAdmin.add_skip_and_import_popups(AstraSitesAdmin.skip_and_import_popups);
|
3727 |
-
}
|
3728 |
|
3729 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3730 |
|
3731 |
-
|
3732 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3733 |
|
3734 |
-
|
3735 |
-
|
3736 |
-
|
3737 |
-
|
3738 |
-
}
|
3739 |
-
}
|
3740 |
}
|
3741 |
-
console.groupEnd();
|
3742 |
});
|
|
|
3743 |
},
|
3744 |
|
3745 |
import_page_process: function () {
|
@@ -4006,8 +4016,12 @@ var AstraSitesAjaxQueue = (function () {
|
|
4006 |
|
4007 |
case 'free':
|
4008 |
|
4009 |
-
var notinstalled =
|
4010 |
-
var inactive =
|
|
|
|
|
|
|
|
|
4011 |
if ($('.astra-sites-result-preview').hasClass('skip-plugins')) {
|
4012 |
notinstalled = [];
|
4013 |
}
|
535 |
|
536 |
/**
|
537 |
* Try again for import
|
538 |
+
* @param {*} event
|
539 |
*/
|
540 |
tryAgain: function( event ) {
|
541 |
event.preventDefault();
|
3081 |
* Bulk Plugin Active & Install
|
3082 |
*/
|
3083 |
_bulkPluginInstallActivate: function () {
|
3084 |
+
|
3085 |
+
var not_installed = [];
|
3086 |
+
var activate_plugins = [];
|
3087 |
+
if( astraSitesVars.requiredPlugins ) {
|
3088 |
+
activate_plugins = astraSitesVars.requiredPlugins.inactive || [];
|
3089 |
+
not_installed = astraSitesVars.requiredPlugins.notinstalled || [];
|
3090 |
}
|
3091 |
|
3092 |
// If has class the skip-plugins then,
|
3093 |
// Avoid installing 3rd party plugins.
|
|
|
3094 |
if ($('.astra-sites-result-preview').hasClass('skip-plugins')) {
|
3095 |
not_installed = [];
|
3096 |
}
|
|
|
3097 |
|
3098 |
// First Install Bulk.
|
3099 |
if (not_installed.length > 0) {
|
3354 |
AstraSitesAdmin.handle_error( response, site_id );
|
3355 |
}
|
3356 |
});
|
3357 |
+
|
3358 |
}, delay);
|
3359 |
|
3360 |
}
|
3564 |
}
|
3565 |
},
|
3566 |
|
3567 |
+
start_import: function( response ) {
|
3568 |
|
3569 |
+
if (AstraSitesAdmin.subscribe_skiped || AstraSitesAdmin.subscription_form_submitted == 'yes') {
|
3570 |
+
$('.user-building-for-title').hide();
|
3571 |
+
$('.astra-sites-advanced-options-heading').hide();
|
3572 |
+
$('.astra-sites-advanced-options').show();
|
3573 |
+
$('#astra-sites-subscription-form-one').hide();
|
3574 |
}
|
3575 |
|
3576 |
+
if (false === AstraSitesAdmin.subscribe_skiped && $('.subscription-enabled').length && AstraSitesAdmin.subscription_form_submitted !== 'yes') {
|
3577 |
+
$('.astra-sites-result-preview .heading h3').html(astraSitesVars.headings.subscription);
|
3578 |
+
$('.site-import-cancel').hide();
|
|
|
|
|
|
|
|
|
|
|
|
|
3579 |
|
3580 |
+
if ('site-pages' === AstraSitesAdmin.action_slug) {
|
3581 |
+
$('#astra-sites-subscription-form-two').html(wp.template('astra-sites-subscription-form-one'));
|
3582 |
+
$('#astra-sites-subscription-form-two').append(wp.template('astra-sites-subscription-form-two'));
|
3583 |
+
} else {
|
3584 |
+
$('#astra-sites-subscription-form-one').html(wp.template('astra-sites-subscription-form-one'));
|
3585 |
+
$('#astra-sites-subscription-form-two').html(wp.template('astra-sites-subscription-form-two'));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3586 |
}
|
3587 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3588 |
|
3589 |
+
// Set compatibilities.
|
3590 |
+
AstraSitesAdmin.skip_and_import_popups = [];
|
3591 |
+
var compatibilities = astraSitesVars.compatibilities;
|
3592 |
+
required_plugins = [];
|
3593 |
+
if( response ) {
|
3594 |
+
required_plugins = response.data['required_plugins'];
|
3595 |
+
AstraSitesAdmin.required_plugins = response.data['required_plugins'];
|
3596 |
|
3597 |
+
if (response.data['third_party_required_plugins'].length) {
|
3598 |
+
AstraSitesAdmin.skip_and_import_popups['astra-sites-third-party-required-plugins'] = response.data['third_party_required_plugins'];
|
3599 |
+
}
|
3600 |
+
}
|
3601 |
|
3602 |
+
var is_dynamic_page = $('#single-pages').find('.current_page').attr('data-dynamic-page') || 'no';
|
3603 |
|
3604 |
+
if (('yes' === is_dynamic_page) && 'site-pages' === AstraSitesAdmin.action_slug) {
|
3605 |
+
AstraSitesAdmin.skip_and_import_popups['astra-sites-dynamic-page'] = '';
|
3606 |
+
}
|
3607 |
|
3608 |
+
// Release disabled class from import button.
|
3609 |
+
$('.astra-demo-import')
|
3610 |
+
.removeClass('disabled not-click-able')
|
3611 |
+
.attr('data-import', 'disabled');
|
3612 |
+
|
3613 |
+
// Remove loader.
|
3614 |
+
$('.required-plugins').removeClass('loading').html('');
|
3615 |
+
$('.required-plugins-list').html('');
|
3616 |
+
|
3617 |
+
var output = '';
|
3618 |
+
|
3619 |
+
/**
|
3620 |
+
* Count remaining plugins.
|
3621 |
+
* @type number
|
3622 |
+
*/
|
3623 |
+
var remaining_plugins = 0;
|
3624 |
+
var required_plugins_markup = '';
|
3625 |
+
|
3626 |
+
/**
|
3627 |
+
* Not Installed
|
3628 |
+
*
|
3629 |
+
* List of not installed required plugins.
|
3630 |
+
*/
|
3631 |
+
if ( required_plugins && typeof required_plugins.notinstalled !== 'undefined') {
|
3632 |
+
|
3633 |
+
// Add not have installed plugins count.
|
3634 |
+
remaining_plugins += parseInt(required_plugins.notinstalled.length);
|
3635 |
+
|
3636 |
+
$(required_plugins.notinstalled).each(function (index, plugin) {
|
3637 |
+
output += '<li class="plugin-card plugin-card-' + plugin.slug + '" data-slug="' + plugin.slug + '" data-init="' + plugin.init + '" data-name="' + plugin.name + '">' + plugin.name + '</li>';
|
3638 |
+
});
|
3639 |
+
}
|
3640 |
|
3641 |
+
/**
|
3642 |
+
* Inactive
|
3643 |
+
*
|
3644 |
+
* List of not inactive required plugins.
|
3645 |
+
*/
|
3646 |
+
if ( required_plugins && typeof required_plugins.inactive !== 'undefined') {
|
3647 |
|
3648 |
+
// Add inactive plugins count.
|
3649 |
+
remaining_plugins += parseInt(required_plugins.inactive.length);
|
|
|
|
|
3650 |
|
3651 |
+
$(required_plugins.inactive).each(function (index, plugin) {
|
3652 |
+
output += '<li class="plugin-card plugin-card-' + plugin.slug + '" data-slug="' + plugin.slug + '" data-init="' + plugin.init + '" data-name="' + plugin.name + '">' + plugin.name + '</li>';
|
3653 |
+
});
|
3654 |
+
}
|
3655 |
|
3656 |
+
if ('' == output) {
|
3657 |
+
$('.astra-sites-result-preview').find('.astra-sites-import-plugins').hide();
|
3658 |
+
} else {
|
3659 |
+
$('.astra-sites-result-preview').find('.astra-sites-import-plugins').show();
|
3660 |
+
$('.astra-sites-result-preview').find('.required-plugins-list').html(output);
|
3661 |
+
}
|
3662 |
+
if ('yes' === AstraSitesAdmin.first_import_complete && !$('.astra-sites-result-preview').hasClass('import-page')) {
|
3663 |
+
$('.astra-sites-advanced-options').find('.astra-site-contents').prepend(wp.template('astra-sites-delete-previous-site'));
|
3664 |
+
}
|
3665 |
|
3666 |
+
/**
|
3667 |
+
* Enable Demo Import Button
|
3668 |
+
* @type number
|
3669 |
+
*/
|
3670 |
+
astraSitesVars.requiredPlugins = required_plugins;
|
|
|
3671 |
|
3672 |
+
$('.astra-sites-import-content').find('.astra-loading-wrap').remove();
|
3673 |
+
$('.astra-sites-result-preview').removeClass('preparing');
|
|
|
|
|
|
|
|
|
3674 |
|
3675 |
+
// Compatibility.
|
3676 |
+
if (Object.keys(compatibilities.errors).length || Object.keys(compatibilities.warnings).length || Object.keys(AstraSitesAdmin.skip_and_import_popups).length) {
|
3677 |
|
3678 |
+
if (Object.keys(compatibilities.errors).length || Object.keys(compatibilities.warnings).length) {
|
3679 |
+
AstraSitesAdmin.skip_and_import_popups['astra-sites-compatibility-messages'] = compatibilities;
|
3680 |
+
}
|
|
|
3681 |
|
3682 |
+
if (Object.keys(AstraSitesAdmin.skip_and_import_popups).length) {
|
3683 |
+
AstraSitesAdmin.add_skip_and_import_popups(AstraSitesAdmin.skip_and_import_popups);
|
3684 |
+
}
|
|
|
|
|
|
|
3685 |
|
3686 |
+
} else {
|
|
|
3687 |
|
3688 |
+
// Avoid plugin activation, for pages only.
|
3689 |
+
if ('site-pages' === AstraSitesAdmin.action_slug) {
|
|
|
|
|
3690 |
|
3691 |
+
var notinstalled = [];
|
3692 |
+
if( astraSitesVars && astraSitesVars.requiredPlugins && astraSitesVars.requiredPlugins.notinstalled ) {
|
3693 |
+
notinstalled = astraSitesVars.requiredPlugins.notinstalled;
|
3694 |
+
}
|
|
|
|
|
|
|
|
|
|
|
3695 |
|
3696 |
+
if (!notinstalled.length) {
|
3697 |
+
AstraSitesAdmin.import_page_process();
|
3698 |
+
}
|
3699 |
+
}
|
3700 |
+
}
|
3701 |
+
},
|
3702 |
|
3703 |
+
required_plugins_list_markup: function (requiredPlugins) {
|
|
|
3704 |
|
3705 |
+
// Add disabled class from import button.
|
3706 |
+
$('.astra-demo-import')
|
3707 |
+
.addClass('disabled not-click-able')
|
3708 |
+
.removeAttr('data-import');
|
3709 |
|
3710 |
+
if( '' === requiredPlugins ) {
|
3711 |
+
AstraSitesAdmin.start_import();
|
3712 |
+
} else {
|
3713 |
|
3714 |
+
$('.required-plugins').addClass('loading').html('<span class="spinner is-active"></span>');
|
|
|
|
|
3715 |
|
3716 |
+
// Required Required.
|
3717 |
+
$.ajax({
|
3718 |
+
url: astraSitesVars.ajaxurl,
|
3719 |
+
type: 'POST',
|
3720 |
+
data: {
|
3721 |
+
action: 'astra-required-plugins',
|
3722 |
+
_ajax_nonce: astraSitesVars._ajax_nonce,
|
3723 |
+
required_plugins: JSON.stringify(requiredPlugins),
|
3724 |
+
options: AstraSitesAdmin.options_data,
|
3725 |
+
enabledExtensions: AstraSitesAdmin.enabled_extensions,
|
3726 |
+
},
|
3727 |
+
beforeSend: function () {
|
3728 |
+
console.groupCollapsed('Required Plugins');
|
3729 |
+
console.log('Required Plugins of Template:');
|
3730 |
+
console.log(requiredPlugins);
|
3731 |
+
}
|
3732 |
+
})
|
3733 |
+
.fail(function (jqXHR) {
|
3734 |
+
AstraSitesAdmin._log(jqXHR);
|
3735 |
|
3736 |
+
// Remove loader.
|
3737 |
+
$('.required-plugins').removeClass('loading').html('');
|
3738 |
+
AstraSitesAdmin._importFailMessage(jqXHR.status + jqXHR.statusText, 'Required Plugins Failed!', jqXHR);
|
3739 |
+
console.groupEnd();
|
3740 |
+
})
|
3741 |
+
.done(function (response) {
|
3742 |
+
console.log('Required Plugin Status From The Site:');
|
3743 |
+
AstraSitesAdmin._log(response);
|
3744 |
+
console.groupEnd();
|
3745 |
|
3746 |
+
if (false === response.success) {
|
3747 |
+
AstraSitesAdmin._importFailMessage(response.data, 'Required Plugins Failed!', '', astraSitesVars.importFailedRequiredPluginsMessage);
|
3748 |
+
} else {
|
3749 |
+
AstraSitesAdmin.start_import( response );
|
|
|
|
|
3750 |
}
|
|
|
3751 |
});
|
3752 |
+
}
|
3753 |
},
|
3754 |
|
3755 |
import_page_process: function () {
|
4016 |
|
4017 |
case 'free':
|
4018 |
|
4019 |
+
var notinstalled = [];
|
4020 |
+
var inactive = [];
|
4021 |
+
if( astraSitesVars.requiredPlugins ) {
|
4022 |
+
notinstalled = astraSitesVars.requiredPlugins.notinstalled || [];
|
4023 |
+
inactive = astraSitesVars.requiredPlugins.inactive || [];
|
4024 |
+
}
|
4025 |
if ($('.astra-sites-result-preview').hasClass('skip-plugins')) {
|
4026 |
notinstalled = [];
|
4027 |
}
|
languages/astra-sites.pot
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# This file is distributed under the same license as the Starter Templates package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Starter Templates 2.6.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/astra-sites\n"
|
7 |
"POT-Creation-Date: 2021-06-03 12:00:43+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
@@ -1810,4 +1810,4 @@ msgstr ""
|
|
1810 |
#: inc/classes/class-astra-sites-importer-log.php:371
|
1811 |
msgctxt "PHP Version"
|
1812 |
msgid "We recommend to use php 5.4 or higher"
|
1813 |
-
msgstr ""
|
2 |
# This file is distributed under the same license as the Starter Templates package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Starter Templates 2.6.12\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/astra-sites\n"
|
7 |
"POT-Creation-Date: 2021-06-03 12:00:43+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
1810 |
#: inc/classes/class-astra-sites-importer-log.php:371
|
1811 |
msgctxt "PHP Version"
|
1812 |
msgid "We recommend to use php 5.4 or higher"
|
1813 |
+
msgstr ""
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: Elementor,Beaver Builder,Templates,Gutenberg,Astra Starter Sites
|
|
5 |
Requires at least: 4.4
|
6 |
Requires PHP: 5.3
|
7 |
Tested up to: 5.7
|
8 |
-
Stable tag: 2.6.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -149,6 +149,9 @@ We are open to suggestions and would love to work on topics that our users are l
|
|
149 |
|
150 |
== Changelog ==
|
151 |
|
|
|
|
|
|
|
152 |
v2.6.11 - 3-June-2021
|
153 |
- Improvement: Gutenberg Template library auto-syncs at regular intervals.
|
154 |
- Improvement: Updated image download functionality.
|
5 |
Requires at least: 4.4
|
6 |
Requires PHP: 5.3
|
7 |
Tested up to: 5.7
|
8 |
+
Stable tag: 2.6.12
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
149 |
|
150 |
== Changelog ==
|
151 |
|
152 |
+
v2.6.12 - 9-June-2021
|
153 |
+
- Fix: Single pages not getting imported when no required plugin is associated to it.
|
154 |
+
|
155 |
v2.6.11 - 3-June-2021
|
156 |
- Improvement: Gutenberg Template library auto-syncs at regular intervals.
|
157 |
- Improvement: Updated image download functionality.
|