Skip to content

Commit 4d6254d

Browse files
authored
Merge pull request #676 from analogwp/release-v2.2.2
Release v2.2.2
2 parents ecf19c9 + d348c17 commit 4d6254d

File tree

4 files changed

+17
-9
lines changed

4 files changed

+17
-9
lines changed

analogwp-templates.php

+5-2
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,15 @@
1010
* Plugin Name: Style Kits for Elementor
1111
* Plugin URI: https://analogwp.com/
1212
* Description: Style Kits extends the Elementor theme styles editor with more global styling options. Boost your design workflow in Elementor with intuitive global controls and theme style presets.
13-
* Version: 2.2.1
13+
* Version: 2.2.2
1414
* Author: AnalogWP
1515
* Author URI: https://analogwp.com/
1616
* License: GPL2
1717
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
1818
* Text Domain: ang
19+
* Requires at least: 6.0
20+
* Requires PHP: 8.0
21+
*
1922
* Elementor tested up to: 3.25.10
2023
* Elementor Pro tested up to: 3.25.4
2124
*/
@@ -25,7 +28,7 @@
2528
define( 'ANG_ELEMENTOR_MINIMUM', '3.20.0' );
2629
define( 'ANG_PHP_MINIMUM', '8.0' );
2730
define( 'ANG_WP_MINIMUM', '6.0' );
28-
define( 'ANG_VERSION', '2.2.1' );
31+
define( 'ANG_VERSION', '2.2.2' );
2932
define( 'ANG_PLUGIN_FILE', __FILE__ );
3033
define( 'ANG_PLUGIN_URL', plugin_dir_url( ANG_PLUGIN_FILE ) );
3134
define( 'ANG_PLUGIN_DIR', plugin_dir_path( ANG_PLUGIN_FILE ) );

client/App.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,8 @@ class App extends React.Component {
253253
syncing: false,
254254
} );
255255

256-
this.handleSort( 'latest', 'templates' );
257-
this.handleSort( 'latest', 'blocks' );
256+
this.handleSort( 'latest', 'templates', library.templates );
257+
this.handleSort( 'latest', 'blocks', library.blocks );
258258

259259
// Listen for Elementor modal close, so we can reset some states.
260260
document.addEventListener( 'modal-close', () => {
@@ -291,12 +291,12 @@ class App extends React.Component {
291291
}
292292
}
293293

294-
handleSort( value, library = 'templates' ) {
294+
handleSort( value, library = 'templates', data = false ) {
295295
this.setState( {
296296
showing_favorites: false,
297297
} );
298298

299-
const sortData = this.state[ library ];
299+
const sortData = ( ! data ) ? this.state[ library ] : data;
300300

301301
if ( 'popular' === value ) {
302302
const sorted = sortData.sort( ( a, b ) => {

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "analogwp-templates",
3-
"version": "2.2.1",
3+
"version": "2.2.2",
44
"description": "Handfully crafted Elementor templates packs.",
55
"main": "/client/index.js",
66
"private": true,

readme.txt

+7-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
Contributors: analogwp, lushkant, johnpixle, mauryaratan
33
Requires at least: 6.0
44
Requires PHP: 8.0
5-
Tested up to: 6.7
6-
Stable tag: 2.2.1
5+
Tested up to: 6.7.1
6+
Stable tag: 2.2.2
77
Tags: elementor, patterns, global styles, elementor addons, design system
88
License: GPLv2
99
License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -101,6 +101,11 @@ We offer high-level support for all Style Kits users. Reach out to https://analo
101101

102102
== Changelog ==
103103

104+
= 2.2.2 - November 27, 2024 =
105+
* Fix: New license switch causing Pro template imports to fail
106+
* Fix: Old templates library not showing templates on page load
107+
* Improvement: Other minor code changes
108+
104109
= 2.2.1 - November 25, 2024 =
105110
* New: Freemius Addons page at admin
106111
* Fix: Manual container padding overrides not working [#673](https://github.com/analogwp/analogwp-templates/issues/673)

0 commit comments

Comments
 (0)