Astra Starter Sites - Version 2.7.5

Version Description

Download this release

Release Info

Developer brainstormworg
Plugin Icon Astra Starter Sites
Version 2.7.5
Comparing to
See all releases

Code changes from version 2.7.4 to 2.7.5

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.7.4
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.7.4' );
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.7.5
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.7.5' );
23
  }
24
 
25
  if ( ! defined( 'ASTRA_SITES_FILE' ) ) {
inc/assets/js/elementor-admin-page.js CHANGED
@@ -88,7 +88,6 @@ var AstraSitesAjaxQueue = (function () {
88
 
89
  var elementTop = $(this).offset().top;
90
  var elementBottom = elementTop + $(this).outerHeight();
91
-
92
  var viewportTop = $(window).scrollTop();
93
  var viewportBottom = viewportTop + $(window).height();
94
 
@@ -558,7 +557,7 @@ var AstraSitesAjaxQueue = (function () {
558
 
559
  _importWPForm: function (wpforms_url, callback) {
560
 
561
- if ('' == wpforms_url || 0 == wpforms_url) {
562
  if (callback && typeof callback == "function") {
563
  callback('');
564
  }
@@ -1624,7 +1623,9 @@ var AstraSitesAjaxQueue = (function () {
1624
  required_plugins = response.data['required_plugins'];
1625
 
1626
  if (response.data['third_party_required_plugins'].length) {
1627
- output += '<li class="plugin-card plugin-card-' + plugin.slug + '" data-slug="' + plugin.slug + '" data-init="' + plugin.init + '" data-name="' + plugin.name + '">' + plugin.name + '</li>';
 
 
1628
  }
1629
 
1630
  /**
88
 
89
  var elementTop = $(this).offset().top;
90
  var elementBottom = elementTop + $(this).outerHeight();
 
91
  var viewportTop = $(window).scrollTop();
92
  var viewportBottom = viewportTop + $(window).height();
93
 
557
 
558
  _importWPForm: function (wpforms_url, callback) {
559
 
560
+ if ( ! wpforms_url) {
561
  if (callback && typeof callback == "function") {
562
  callback('');
563
  }
1623
  required_plugins = response.data['required_plugins'];
1624
 
1625
  if (response.data['third_party_required_plugins'].length) {
1626
+ $( response.data['third_party_required_plugins'] ).each(function (index, plugin) {
1627
+ output += '<li class="plugin-card plugin-card-' + plugin.slug + '" data-slug="' + plugin.slug + '" data-init="' + plugin.init + '" data-name="' + plugin.name + '">' + plugin.name + '</li>';
1628
+ });
1629
  }
1630
 
1631
  /**
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.8
8
- Stable tag: 2.7.4
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.7.4 - 26-October-2021
153
  - Fix: Fixed the issue with Elementor blocks contact form not being imported due to invalid form JSON file URL.
154
 
5
  Requires at least: 4.4
6
  Requires PHP: 5.3
7
  Tested up to: 5.8
8
+ Stable tag: 2.7.5
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
149
 
150
  == Changelog ==
151
 
152
+ v2.7.5 - 27-October-2021
153
+ - Fix: Elementor blocks not being imported due to missing required plugins.
154
+
155
  v2.7.4 - 26-October-2021
156
  - Fix: Fixed the issue with Elementor blocks contact form not being imported due to invalid form JSON file URL.
157