Version Description
Download this release
Release Info
Developer | Nikschavan |
Plugin | Astra Starter Sites |
Version | 1.2.1 |
Comparing to | |
See all releases |
Code changes from version 1.2.0 to 1.2.1
- astra-sites.php +2 -2
- inc/classes/class-astra-sites-importer.php +5 -1
- languages/astra-sites.pot +2 -2
- readme.txt +4 -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.2.
|
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.2.
|
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.2.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.2.1' );
|
23 |
}
|
24 |
|
25 |
if ( ! defined( 'ASTRA_SITES_FILE' ) ) {
|
inc/classes/class-astra-sites-importer.php
CHANGED
@@ -298,7 +298,6 @@ if ( ! class_exists( 'Astra_Sites_Importer' ) ) :
|
|
298 |
* @since 1.0.9
|
299 |
*/
|
300 |
public function clear_cache() {
|
301 |
-
|
302 |
// Clear 'Elementor' file cache.
|
303 |
if ( class_exists( '\Elementor\Plugin' ) ) {
|
304 |
Elementor\Plugin::$instance->posts_css_manager->clear_cache();
|
@@ -308,6 +307,11 @@ if ( ! class_exists( 'Astra_Sites_Importer' ) ) :
|
|
308 |
if ( is_callable( 'FLBuilderModel::delete_asset_cache_for_all_posts' ) ) {
|
309 |
FLBuilderModel::delete_asset_cache_for_all_posts();
|
310 |
}
|
|
|
|
|
|
|
|
|
|
|
311 |
}
|
312 |
|
313 |
}
|
298 |
* @since 1.0.9
|
299 |
*/
|
300 |
public function clear_cache() {
|
|
|
301 |
// Clear 'Elementor' file cache.
|
302 |
if ( class_exists( '\Elementor\Plugin' ) ) {
|
303 |
Elementor\Plugin::$instance->posts_css_manager->clear_cache();
|
307 |
if ( is_callable( 'FLBuilderModel::delete_asset_cache_for_all_posts' ) ) {
|
308 |
FLBuilderModel::delete_asset_cache_for_all_posts();
|
309 |
}
|
310 |
+
|
311 |
+
// Clear 'Astra Addon' cache.
|
312 |
+
if ( is_callable( 'Astra_Minify::refresh_assets' ) ) {
|
313 |
+
Astra_Minify::refresh_assets();
|
314 |
+
}
|
315 |
}
|
316 |
|
317 |
}
|
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.2.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/astra-sites\n"
|
7 |
-
"POT-Creation-Date: 2018-03-
|
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.2.1\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/astra-sites\n"
|
7 |
+
"POT-Creation-Date: 2018-03-23 12:44:51+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
@@ -5,7 +5,7 @@ Tags: demo, theme demos, one click import
|
|
5 |
Requires at least: 4.4
|
6 |
Requires PHP: 5.3
|
7 |
Tested up to: 4.9.1
|
8 |
-
Stable tag: 1.2.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -57,6 +57,9 @@ https://wpastra.com/sites-suggestions/
|
|
57 |
|
58 |
== Changelog ==
|
59 |
|
|
|
|
|
|
|
60 |
v1.2.0 - 22-March-2018
|
61 |
* Improvement: Added compatibility for Elemetor version 2.0.0. Older versions throw the PHP warning for function process_element_export_import_content().
|
62 |
|
5 |
Requires at least: 4.4
|
6 |
Requires PHP: 5.3
|
7 |
Tested up to: 4.9.1
|
8 |
+
Stable tag: 1.2.1
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
57 |
|
58 |
== Changelog ==
|
59 |
|
60 |
+
v1.2.1 - 23-March-2018
|
61 |
+
* Improvement: Clear the Astra Pro plugin cache after site import.
|
62 |
+
|
63 |
v1.2.0 - 22-March-2018
|
64 |
* Improvement: Added compatibility for Elemetor version 2.0.0. Older versions throw the PHP warning for function process_element_export_import_content().
|
65 |
|