Astra Starter Sites - Version 3.1.13

Version Description

Download this release

Release Info

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

Code changes from version 3.1.12 to 3.1.13

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: 3.1.12
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', '3.1.12' );
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: 3.1.13
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', '3.1.13' );
23
  }
24
 
25
  if ( ! defined( 'ASTRA_SITES_FILE' ) ) {
inc/classes/compatibility/elementor/class-astra-sites-compatibility-elementor.php CHANGED
@@ -71,6 +71,20 @@ if ( ! class_exists( 'Astra_Sites_Compatibility_Elementor' ) ) :
71
  add_action( 'astra_sites_before_sse_import', array( $this, 'disable_attachment_metadata' ) );
72
 
73
  add_action( 'init', array( $this, 'init' ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74
  }
75
 
76
  /**
71
  add_action( 'astra_sites_before_sse_import', array( $this, 'disable_attachment_metadata' ) );
72
 
73
  add_action( 'init', array( $this, 'init' ) );
74
+ add_action( 'astra_sites_after_plugin_activation', array( $this, 'disable_elementor_redirect' ) );
75
+ }
76
+
77
+ /**
78
+ * Disable Elementor redirect.
79
+ *
80
+ * @return void.
81
+ */
82
+ public function disable_elementor_redirect() {
83
+ $elementor_redirect = get_transient( 'elementor_activation_redirect' );
84
+
85
+ if ( ! empty( $elementor_redirect ) && '' !== $elementor_redirect ) {
86
+ delete_transient( 'elementor_activation_redirect' );
87
+ }
88
  }
89
 
90
  /**
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: Elementor,Beaver Builder,Templates,Gutenberg,Block Editor,Astra Starter Si
5
  Requires at least: 4.4
6
  Requires PHP: 5.3
7
  Tested up to: 6.0
8
- Stable tag: 3.1.12
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -133,6 +133,9 @@ We are open to suggestions and would love to work on topics that our users are l
133
 
134
  == Changelog ==
135
 
 
 
 
136
  v3.1.12 - 12-July-2022
137
  - Improvement: Disable promotes Essential & Growth bundle when white label is enabled.
138
  - Fix: Templates are not displayed when we install plugin from Astra notice.
5
  Requires at least: 4.4
6
  Requires PHP: 5.3
7
  Tested up to: 6.0
8
+ Stable tag: 3.1.13
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
133
 
134
  == Changelog ==
135
 
136
+ v3.1.13 - 18-July-2022
137
+ Fix: Prevent invalid redirection after template import.
138
+
139
  v3.1.12 - 12-July-2022
140
  - Improvement: Disable promotes Essential & Growth bundle when white label is enabled.
141
  - Fix: Templates are not displayed when we install plugin from Astra notice.