Astra Starter Sites - Version 1.1.1

Version Description

Download this release

Release Info

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

Code changes from version 1.1.0 to 1.1.1

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.0
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.0' );
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.1
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.1' );
23
  }
24
 
25
  if ( ! defined( 'ASTRA_SITES_FILE' ) ) {
inc/classes/class-astra-sites.php CHANGED
@@ -131,7 +131,7 @@ if ( ! class_exists( 'Astra_Sites' ) ) :
131
  */
132
  public static function set_api_url() {
133
 
134
- self::$api_url = apply_filters( 'astra_sites_api_url', 'https://sites.wpastra.com/wp-json/wp/v2/' );
135
 
136
  }
137
 
@@ -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 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' ),
131
  */
132
  public static function set_api_url() {
133
 
134
+ self::$api_url = apply_filters( 'astra_sites_api_url', 'https://websitedemos.net/wp-json/wp/v2/' );
135
 
136
  }
137
 
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' ),
inc/importers/batch-processing/class-astra-sites-batch-processing.php CHANGED
@@ -93,7 +93,8 @@ if ( ! class_exists( 'Astra_Sites_Batch_Processing' ) ) :
93
  if (
94
  strpos( $attachment['url'], 'brainstormforce.com' ) !== false ||
95
  strpos( $attachment['url'], 'wpastra.com' ) !== false ||
96
- strpos( $attachment['url'], 'sharkz.in' ) !== false
 
97
  ) {
98
  return false;
99
  }
93
  if (
94
  strpos( $attachment['url'], 'brainstormforce.com' ) !== false ||
95
  strpos( $attachment['url'], 'wpastra.com' ) !== false ||
96
+ strpos( $attachment['url'], 'sharkz.in' ) !== false ||
97
+ strpos( $attachment['url'], 'websitedemos.net' ) !== false
98
  ) {
99
  return false;
100
  }
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.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -56,7 +56,10 @@ https://wpastra.com/sites-suggestions/
56
 
57
  == Changelog ==
58
 
59
- v1.1.0 - 21-Nov-2017
 
 
 
60
  * New: Import the site content using Event Source (SSE) which ensures faithful imports.
61
  * New: Divided the site import process in separate AJAX calls to reduce the possibility of timeouts.
62
  * 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.1
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.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.