Astra Starter Sites - Version 1.4.4

Version Description

Download this release

Release Info

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

Code changes from version 1.4.3 to 1.4.4

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.4.3
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.4.3' );
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.4.4
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.4.4' );
23
  }
24
 
25
  if ( ! defined( 'ASTRA_SITES_FILE' ) ) {
inc/assets/js/render-grid.js CHANGED
@@ -213,8 +213,8 @@
213
  },
214
 
215
  _apiAddParam_siteground: function() {
216
- if( astraSitesAdmin['siteground'] ) {
217
- AstraRender._api_params['siteground'] = astraSitesAdmin['siteground'];
218
  }
219
  },
220
 
213
  },
214
 
215
  _apiAddParam_siteground: function() {
216
+ if( astraRenderGrid['siteground'] ) {
217
+ AstraRender._api_params['siteground'] = astraRenderGrid['siteground'];
218
  }
219
  },
220
 
inc/classes/class-astra-sites-importer-log.php CHANGED
@@ -105,7 +105,7 @@ if ( ! class_exists( 'Astra_Sites_Importer_Log' ) ) :
105
  * @return string Current time with time zone.
106
  */
107
  public static function current_time() {
108
- return date( 'H:i:s' ) . ' ' . date_default_timezone_get();
109
  }
110
 
111
  /**
@@ -212,7 +212,7 @@ if ( ! class_exists( 'Astra_Sites_Importer_Log' ) ) :
212
  $upload_path = trailingslashit( $upload_dir['path'] );
213
 
214
  // File format e.g. 'import-31-Oct-2017-06-39-12.txt'.
215
- self::$log_file = $upload_path . 'import-' . date( 'd-M-Y-h-i-s' ) . '.txt';
216
 
217
  if ( ! get_option( 'astra_sites_recent_import_log_file', false ) ) {
218
  update_option( 'astra_sites_recent_import_log_file', self::$log_file );
105
  * @return string Current time with time zone.
106
  */
107
  public static function current_time() {
108
+ return gmdate( 'H:i:s' ) . ' ' . date_default_timezone_get();
109
  }
110
 
111
  /**
212
  $upload_path = trailingslashit( $upload_dir['path'] );
213
 
214
  // File format e.g. 'import-31-Oct-2017-06-39-12.txt'.
215
+ self::$log_file = $upload_path . 'import-' . gmdate( 'd-M-Y-h-i-s' ) . '.txt';
216
 
217
  if ( ! get_option( 'astra_sites_recent_import_log_file', false ) ) {
218
  update_option( 'astra_sites_recent_import_log_file', self::$log_file );
inc/classes/class-astra-sites.php CHANGED
@@ -160,7 +160,7 @@ if ( ! class_exists( 'Astra_Sites' ) ) :
160
  }
161
  }
162
 
163
- $file_name = 'astra-sites-backup-' . date( 'd-M-Y-h-i-s' ) . '.json';
164
  $old_settings = get_option( 'astra-settings', array() );
165
  $upload_dir = Astra_Sites_Importer_Log::get_instance()->log_dir();
166
  $upload_path = trailingslashit( $upload_dir['path'] );
160
  }
161
  }
162
 
163
+ $file_name = 'astra-sites-backup-' . gmdate( 'd-M-Y-h-i-s' ) . '.json';
164
  $old_settings = get_option( 'astra-settings', array() );
165
  $upload_dir = Astra_Sites_Importer_Log::get_instance()->log_dir();
166
  $upload_path = trailingslashit( $upload_dir['path'] );
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.4.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/astra-sites\n"
7
- "POT-Creation-Date: 2019-11-07 08:15:54+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.4.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/astra-sites\n"
7
+ "POT-Creation-Date: 2019-11-14 07:13:07+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,8 +4,8 @@ Donate link: https://wpastra.com/pro/
4
  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.2
8
- Stable tag: 1.4.3
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -117,6 +117,10 @@ We are open to suggestions and would love to work on topics that our users are l
117
 
118
  == Changelog ==
119
 
 
 
 
 
120
  v1.4.3 - 7-November-2019
121
  - Fix: Installing premium plugin from the WP CLI import.
122
  - Fix: WP CLI command `wp astra-sites list` showing the old result.
4
  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.3
8
+ Stable tag: 1.4.4
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
117
 
118
  == Changelog ==
119
 
120
+ v1.4.4 - 14-November-2019
121
+ - Improvement: Added the old browser compatibility in which Astra Sites not loading.
122
+ - Improvement: Used `gmdate()` function instead of `date()` which affected by runtime timezone changes.
123
+
124
  v1.4.3 - 7-November-2019
125
  - Fix: Installing premium plugin from the WP CLI import.
126
  - Fix: WP CLI command `wp astra-sites list` showing the old result.