Astra Starter Sites - Version 1.1.2

Version Description

Download this release

Release Info

Developer Nikschavan
Plugin Icon Astra Starter Sites
Version 1.1.2
Comparing to
See all releases

Code changes from version 1.1.1 to 1.1.2

astra-sites.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Astra Starter Sites
4
  * Plugin URI: http://www.wpastra.com/pro/
5
  * Description: Import free sites build with Astra theme.
6
- * Version: 1.1.1
7
  * Author: Brainstorm Force
8
  * Author URI: http://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', '1.1.1' );
23
  }
24
 
25
  if ( ! defined( 'ASTRA_SITES_FILE' ) ) {
3
  * Plugin Name: Astra Starter Sites
4
  * Plugin URI: http://www.wpastra.com/pro/
5
  * Description: Import free sites build with Astra theme.
6
+ * Version: 1.1.2
7
  * Author: Brainstorm Force
8
  * Author URI: http://www.brainstormforce.com
9
  * Text Domain: astra-sites
19
  }
20
 
21
  if ( ! defined( 'ASTRA_SITES_VER' ) ) {
22
+ define( 'ASTRA_SITES_VER', '1.1.2' );
23
  }
24
 
25
  if ( ! defined( 'ASTRA_SITES_FILE' ) ) {
inc/assets/js/admin-page.js CHANGED
@@ -614,8 +614,11 @@ var AstraSitesAjaxQueue = (function() {
614
  AstraSitesAdmin._log( astraSitesAdmin.log.installError + ' ' + response.slug );
615
 
616
  $card
617
- .addClass( 'button-primary' )
618
- .html( wp.updates.l10n.installNow );
 
 
 
619
  },
620
 
621
  /**
614
  AstraSitesAdmin._log( astraSitesAdmin.log.installError + ' ' + response.slug );
615
 
616
  $card
617
+ .removeClass( 'button-primary' )
618
+ .addClass( 'disabled' )
619
+ .html( wp.updates.l10n.installFailedShort );
620
+
621
+ AstraSitesAdmin._importFailMessage( astraSitesAdmin.log.installError );
622
  },
623
 
624
  /**
inc/classes/class-astra-sites.php CHANGED
@@ -255,7 +255,7 @@ if ( ! class_exists( 'Astra_Sites' ) ) :
255
  'importWidgetsSuccess' => __( 'Successfully imported Widgets!', 'astra-sites' ),
256
  'serverConfiguration' => esc_url( 'https://wpastra.com/docs/?p=1314&utm_source=demo-import-panel&utm_campaign=import-error&utm_medium=wp-dashboard' ),
257
  'success' => __( 'Site imported successfully! visit : ', 'astra-sites' ),
258
- 'gettingData' => __( 'Getting Import Data..', 'astra-sites' ),
259
  'importingCustomizer' => __( 'Importing Customizer Settings..', 'astra-sites' ),
260
  'importXMLPreparing' => __( 'Setting up import data..', 'astra-sites' ),
261
  'importingXML' => __( 'Importing Pages, Posts & Media..', 'astra-sites' ),
255
  'importWidgetsSuccess' => __( 'Successfully imported Widgets!', 'astra-sites' ),
256
  'serverConfiguration' => esc_url( 'https://wpastra.com/docs/?p=1314&utm_source=demo-import-panel&utm_campaign=import-error&utm_medium=wp-dashboard' ),
257
  'success' => __( 'Site imported successfully! visit : ', 'astra-sites' ),
258
+ 'gettingData' => __( 'Getting Site Information..', 'astra-sites' ),
259
  'importingCustomizer' => __( 'Importing Customizer Settings..', 'astra-sites' ),
260
  'importXMLPreparing' => __( 'Setting up import data..', 'astra-sites' ),
261
  'importingXML' => __( 'Importing Pages, Posts & Media..', 'astra-sites' ),
languages/astra-sites.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the Astra Starter Sites package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Astra Starter Sites 1.1.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/astra-sites\n"
7
- "POT-Creation-Date: 2017-11-21 12:29:44+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
2
  # This file is distributed under the same license as the Astra Starter Sites package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Astra Starter Sites 1.1.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/astra-sites\n"
7
+ "POT-Creation-Date: 2017-11-24 15:48:42+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://wpastra.com/pro/
4
  Tags: demo, theme demos, one click import
5
  Requires at least: 4.4
6
  Tested up to: 4.9.0
7
- Stable tag: 1.1.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -56,10 +56,13 @@ https://wpastra.com/sites-suggestions/
56
 
57
  == Changelog ==
58
 
 
 
 
59
  v1.1.1 - 23-Nov-2017
60
  * New: Change the api url for Astra sites to https://websitedemos.net/ from https://sites.wpastra.com/
61
 
62
- v1.1.1 - 21-Nov-2017
63
  * New: Import the site content using Event Source (SSE) which ensures faithful imports.
64
  * New: Divided the site import process in separate AJAX calls to reduce the possibility of timeouts.
65
  * New: Generated the import log file. It will be displayed in the UI if the import fails.
4
  Tags: demo, theme demos, one click import
5
  Requires at least: 4.4
6
  Tested up to: 4.9.0
7
+ Stable tag: 1.1.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
56
 
57
  == Changelog ==
58
 
59
+ v1.1.2 - 24-Nov-2017
60
+ * Fix: Handling plugin installation errors.
61
+
62
  v1.1.1 - 23-Nov-2017
63
  * New: Change the api url for Astra sites to https://websitedemos.net/ from https://sites.wpastra.com/
64
 
65
+ v1.1.0 - 21-Nov-2017
66
  * New: Import the site content using Event Source (SSE) which ensures faithful imports.
67
  * New: Divided the site import process in separate AJAX calls to reduce the possibility of timeouts.
68
  * New: Generated the import log file. It will be displayed in the UI if the import fails.