Astra Starter Sites - Version 2.0.2

Version Description

Download this release

Release Info

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

Code changes from version 2.0.1 to 2.0.2

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.0.1
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.0.1' );
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.0.2
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.0.2' );
23
  }
24
 
25
  if ( ! defined( 'ASTRA_SITES_FILE' ) ) {
inc/classes/class-astra-sites.php CHANGED
@@ -1497,11 +1497,13 @@ if ( ! class_exists( 'Astra_Sites' ) ) :
1497
 
1498
  $plugin_init = ( isset( $_POST['init'] ) ) ? esc_attr( $_POST['init'] ) : $init;
1499
 
 
 
1500
  $activate = activate_plugin( $plugin_init, '', false, true );
1501
 
1502
  if ( is_wp_error( $activate ) ) {
1503
  if ( defined( 'WP_CLI' ) ) {
1504
- WP_CLI::line( 'Plugin Activation Error: ' . $activate->get_error_message() );
1505
  } else {
1506
  wp_send_json_error(
1507
  array(
1497
 
1498
  $plugin_init = ( isset( $_POST['init'] ) ) ? esc_attr( $_POST['init'] ) : $init;
1499
 
1500
+ wp_clean_plugins_cache();
1501
+
1502
  $activate = activate_plugin( $plugin_init, '', false, true );
1503
 
1504
  if ( is_wp_error( $activate ) ) {
1505
  if ( defined( 'WP_CLI' ) ) {
1506
+ WP_CLI::error( 'Plugin Activation Error: ' . $activate->get_error_message() );
1507
  } else {
1508
  wp_send_json_error(
1509
  array(
languages/astra-sites.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the Starter Templates package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Starter Templates 2.0.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/astra-sites\n"
7
- "POT-Creation-Date: 2020-02-20 06:28: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"
@@ -735,11 +735,11 @@ msgstr ""
735
  msgid "Error: You don't have the required permissions to install plugins."
736
  msgstr ""
737
 
738
- #: inc/classes/class-astra-sites.php:1526
739
  msgid "Plugin Activated"
740
  msgstr ""
741
 
742
- #: inc/classes/class-astra-sites.php:1822
743
  msgid "Template library refreshed!"
744
  msgstr ""
745
 
2
  # This file is distributed under the same license as the Starter Templates package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Starter Templates 2.0.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/astra-sites\n"
7
+ "POT-Creation-Date: 2020-03-06 15:43:29+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
735
  msgid "Error: You don't have the required permissions to install plugins."
736
  msgstr ""
737
 
738
+ #: inc/classes/class-astra-sites.php:1528
739
  msgid "Plugin Activated"
740
  msgstr ""
741
 
742
+ #: inc/classes/class-astra-sites.php:1824
743
  msgid "Template library refreshed!"
744
  msgstr ""
745
 
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.3
8
- Stable tag: 2.0.1
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -65,7 +65,7 @@ You can extend this library with premium ready-to-use website demos by purchasin
65
 
66
  = WHY PEOPLE LOVE THE ASTRA THEME? =
67
 
68
- Over 600,000+ users are empowering their websites with Astra! From beginners to industry experts, everyone is loving Astra for its performance and ease of use.
69
 
70
  = HERE ARE A FEW REASONS WHY THEY LOVE ASTRA – =
71
 
@@ -138,6 +138,9 @@ We are open to suggestions and would love to work on topics that our users are l
138
 
139
  == Changelog ==
140
 
 
 
 
141
  v2.0.1 - 02-March-2020
142
  - Hot Fix: Removed wp-editor dependency.
143
 
5
  Requires at least: 4.4
6
  Requires PHP: 5.3
7
  Tested up to: 5.3
8
+ Stable tag: 2.0.2
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
65
 
66
  = WHY PEOPLE LOVE THE ASTRA THEME? =
67
 
68
+ Over 700,000+ users are empowering their websites with Astra! From beginners to industry experts, everyone is loving Astra for its performance and ease of use.
69
 
70
  = HERE ARE A FEW REASONS WHY THEY LOVE ASTRA – =
71
 
138
 
139
  == Changelog ==
140
 
141
+ v2.0.2 - 07-March-2020
142
+ - Fix: Plugin not activated after importing from WP CLI command.
143
+
144
  v2.0.1 - 02-March-2020
145
  - Hot Fix: Removed wp-editor dependency.
146