Skip to content

Commit efb3553

Browse files
authored
Merge pull request #679 from analogwp/release-v2.3.1
Release v2.3.1
2 parents c544092 + ce221f3 commit efb3553

File tree

6 files changed

+47
-50
lines changed

6 files changed

+47
-50
lines changed

analogwp-templates.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
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.3.0
13+
* Version: 2.3.1
1414
* Author: AnalogWP
1515
* Author URI: https://analogwp.com/
1616
* License: GPL2
@@ -28,7 +28,7 @@
2828
define( 'ANG_ELEMENTOR_MINIMUM', '3.20.0' );
2929
define( 'ANG_PHP_MINIMUM', '7.4' );
3030
define( 'ANG_WP_MINIMUM', '6.0' );
31-
define( 'ANG_VERSION', '2.3.0' );
31+
define( 'ANG_VERSION', '2.3.1' );
3232
define( 'ANG_PLUGIN_FILE', __FILE__ );
3333
define( 'ANG_PLUGIN_URL', plugin_dir_url( ANG_PLUGIN_FILE ) );
3434
define( 'ANG_PLUGIN_DIR', plugin_dir_path( ANG_PLUGIN_FILE ) );

inc/Utils.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,7 @@ public static function is_elementor_container() {
771771
$flexbox_container = get_option( 'elementor_experiment-container' );
772772
$is_flexbox_container_active = \Elementor\Core\Experiments\Manager::STATE_ACTIVE === $flexbox_container;
773773

774-
if ( 'default' === $flexbox_container ) {
774+
if ( 'default' === $flexbox_container || ! $is_flexbox_container_active ) {
775775
$experiments = new \Elementor\Core\Experiments\Manager();
776776
$is_flexbox_container_active = $experiments->is_feature_active( 'container' );
777777
}

inc/class-onboarding.php

-9
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,6 @@ public function __construct() {
3535
wp_safe_redirect( admin_url( 'admin.php?page=analog_onboarding' ) );
3636
update_option( 'analog_onboarding', self::$version );
3737
}
38-
39-
$from = isset( $_GET['from'] ) ? sanitize_text_field( wp_unslash( $_GET['from'] ) ) : '';
40-
$page = isset( $_GET['page'] ) ? sanitize_text_field( wp_unslash( $_GET['page'] ) ) : '';
41-
$is_freemius_redirect = 'freemius' === $from;
42-
$is_onboarding = 'analog_onboarding' === $page;
43-
44-
if ( $is_onboarding && $is_freemius_redirect && $options_table && version_compare( self::$version, $existing_version, '>=' ) ) {
45-
wp_safe_redirect( admin_url( 'admin.php?page=analogwp_templates' ) );
46-
}
4738
}
4839

4940
/**

languages/ang.pot

+35-35
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
# This file is distributed under the GPL2.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: Style Kits for Elementor 2.3.0\n"
5+
"Project-Id-Version: Style Kits for Elementor 2.3.1\n"
66
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/analogwp-templates\n"
77
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
88
"Language-Team: LANGUAGE <LL@li.org>\n"
99
"MIME-Version: 1.0\n"
1010
"Content-Type: text/plain; charset=UTF-8\n"
1111
"Content-Transfer-Encoding: 8bit\n"
12-
"POT-Creation-Date: 2024-12-06T13:13:37+00:00\n"
12+
"POT-Creation-Date: 2024-12-07T18:01:40+00:00\n"
1313
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1414
"X-Generator: WP-CLI 2.10.0\n"
1515
"X-Domain: ang\n"
@@ -199,106 +199,106 @@ msgstr ""
199199
msgid "AnalogWP Classes"
200200
msgstr ""
201201

202-
#: inc/class-onboarding.php:55
203-
#: inc/class-onboarding.php:56
202+
#: inc/class-onboarding.php:46
203+
#: inc/class-onboarding.php:47
204204
msgid "Welcome to Style Kits"
205205
msgstr ""
206206

207-
#: inc/class-onboarding.php:91
207+
#: inc/class-onboarding.php:82
208208
#: inc/elementor/kit/Kits_List_Table.php:341
209209
msgid "Working..."
210210
msgstr ""
211211

212-
#: inc/class-onboarding.php:105
212+
#: inc/class-onboarding.php:96
213213
msgid "Install and Activate Elementor"
214214
msgstr ""
215215

216-
#: inc/class-onboarding.php:106
216+
#: inc/class-onboarding.php:97
217217
msgid "This will install and activate Elementor from the WordPress repository"
218218
msgstr ""
219219

220-
#: inc/class-onboarding.php:107
220+
#: inc/class-onboarding.php:98
221221
msgid "Elementor is installed and activated"
222222
msgstr ""
223223

224-
#: inc/class-onboarding.php:108
224+
#: inc/class-onboarding.php:99
225225
msgid "Failed to install and activate Elementor"
226226
msgstr ""
227227

228-
#: inc/class-onboarding.php:114
228+
#: inc/class-onboarding.php:105
229229
msgid "Enable Elementor container feature"
230230
msgstr ""
231231

232-
#: inc/class-onboarding.php:115
232+
#: inc/class-onboarding.php:106
233233
msgid "The latest Style Kits version works best with flexbox containers. We will enable the Containers feature in Elementor."
234234
msgstr ""
235235

236-
#: inc/class-onboarding.php:116
236+
#: inc/class-onboarding.php:107
237237
msgid "Container feature is now active"
238238
msgstr ""
239239

240-
#: inc/class-onboarding.php:117
240+
#: inc/class-onboarding.php:108
241241
msgid "Failed to activate Elementor container experiment"
242242
msgstr ""
243243

244-
#: inc/class-onboarding.php:123
244+
#: inc/class-onboarding.php:114
245245
msgid "Disable Elementor default colors and fonts"
246246
msgstr ""
247247

248-
#: inc/class-onboarding.php:124
248+
#: inc/class-onboarding.php:115
249249
msgid "For Global Styles to work properly, Elementor default fonts and colors need to be disabled"
250250
msgstr ""
251251

252-
#: inc/class-onboarding.php:125
252+
#: inc/class-onboarding.php:116
253253
msgid "Elementor default colors and fonts are disabled"
254254
msgstr ""
255255

256-
#: inc/class-onboarding.php:126
256+
#: inc/class-onboarding.php:117
257257
msgid "Failed to disable Elementor default colors and fonts"
258258
msgstr ""
259259

260-
#: inc/class-onboarding.php:139
260+
#: inc/class-onboarding.php:130
261261
msgid "Install and activate Hello Elementor Theme"
262262
msgstr ""
263263

264-
#: inc/class-onboarding.php:140
264+
#: inc/class-onboarding.php:131
265265
msgid "Style Kits works best with Elementor Hello theme. This will replace your currently active theme"
266266
msgstr ""
267267

268-
#: inc/class-onboarding.php:141
268+
#: inc/class-onboarding.php:132
269269
msgid "Hello Elementor theme is installed and activated"
270270
msgstr ""
271271

272-
#: inc/class-onboarding.php:142
272+
#: inc/class-onboarding.php:133
273273
msgid "Failed to install and activate Hello Elementor"
274274
msgstr ""
275275

276-
#: inc/class-onboarding.php:152
276+
#: inc/class-onboarding.php:143
277277
msgid "Import a starter theme style preset"
278278
msgstr ""
279279

280-
#: inc/class-onboarding.php:153
280+
#: inc/class-onboarding.php:144
281281
msgid "Use a basic Style Kit as your starting point. This will replace your site’s default kit but you can always revert back to it later."
282282
msgstr ""
283283

284-
#: inc/class-onboarding.php:154
284+
#: inc/class-onboarding.php:145
285285
msgid "A theme style preset \"Style Kit: Base\" has been imported"
286286
msgstr ""
287287

288-
#: inc/class-onboarding.php:155
288+
#: inc/class-onboarding.php:146
289289
msgid "Failed to import a kit"
290290
msgstr ""
291291

292-
#: inc/class-onboarding.php:213
292+
#: inc/class-onboarding.php:204
293293
msgid "Docs"
294294
msgstr ""
295295

296-
#: inc/class-onboarding.php:217
296+
#: inc/class-onboarding.php:208
297297
msgid "Setup Elementor properly for a seamless Style Kits Experience."
298298
msgstr ""
299299

300300
#. translators: %s: Link text
301-
#: inc/class-onboarding.php:217
301+
#: inc/class-onboarding.php:208
302302
#: inc/elementor/class-ang-action.php:121
303303
#: inc/elementor/class-typography.php:1041
304304
#: inc/elementor/class-typography.php:1926
@@ -310,33 +310,33 @@ msgstr ""
310310
msgid "Learn more"
311311
msgstr ""
312312

313-
#: inc/class-onboarding.php:218
313+
#: inc/class-onboarding.php:209
314314
msgid "Looks like you have everything in place."
315315
msgstr ""
316316

317-
#: inc/class-onboarding.php:277
317+
#: inc/class-onboarding.php:268
318318
msgid "Skip wizard"
319319
msgstr ""
320320

321-
#: inc/class-onboarding.php:280
321+
#: inc/class-onboarding.php:271
322322
#: inc/elementor/kit/Kits_List_Table.php:342
323323
#: inc/elementor/kit/Kits_List_Table.php:377
324324
msgid "Apply"
325325
msgstr ""
326326

327-
#: inc/class-onboarding.php:286
327+
#: inc/class-onboarding.php:277
328328
msgid "Go to Dashboard"
329329
msgstr ""
330330

331-
#: inc/class-onboarding.php:287
331+
#: inc/class-onboarding.php:278
332332
msgid "Open a new template"
333333
msgstr ""
334334

335-
#: inc/class-onboarding.php:520
335+
#: inc/class-onboarding.php:511
336336
msgid "Style Kit: Test Page"
337337
msgstr ""
338338

339-
#: inc/class-onboarding.php:545
339+
#: inc/class-onboarding.php:536
340340
msgid "Oops, something went wrong at action: "
341341
msgstr ""
342342

package.json

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

readme.txt

+8-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: analogwp, lushkant, johnpixle, mauryaratan
33
Requires at least: 6.0
44
Requires PHP: 7.4
55
Tested up to: 6.7.1
6-
Stable tag: 2.3.0
6+
Stable tag: 2.3.1
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,12 +101,18 @@ We offer high-level support for all Style Kits users. Reach out to https://analo
101101

102102
== Changelog ==
103103

104+
= 2.3.1 - December 07, 2024 =
105+
* Fix: Onboarding not working in some cases
106+
* Fix: Library showing Non-container based templates when Container feature is set to default
107+
* Improvement: Updated translation files
108+
* Improvement: Other minor code changes
109+
104110
= 2.3.0 - December 06, 2024 =
105111
* New: Button Sizes/Styles back to Active features
106112
* New: Heading Sizes/Styles back to Active features
107113
* Improvement: Reset and enable size control for Button and Heading widgets
108114
* Improvement: Set minimum PHP required version back to v7.4
109-
* Improvements: Updated translation files
115+
* Improvement: Updated translation files
110116
* Improvement: Other minor code changes
111117

112118
= 2.2.3 - November 27, 2024 =

0 commit comments

Comments
 (0)