Skip to content

Commit

Permalink
Merge pull request #679 from analogwp/release-v2.3.1
Browse files Browse the repository at this point in the history
Release v2.3.1
  • Loading branch information
lushkant authored Dec 7, 2024
2 parents c544092 + ce221f3 commit efb3553
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 50 deletions.
4 changes: 2 additions & 2 deletions analogwp-templates.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Plugin Name: Style Kits for Elementor
* Plugin URI: https://analogwp.com/
* 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.
* Version: 2.3.0
* Version: 2.3.1
* Author: AnalogWP
* Author URI: https://analogwp.com/
* License: GPL2
Expand All @@ -28,7 +28,7 @@
define( 'ANG_ELEMENTOR_MINIMUM', '3.20.0' );
define( 'ANG_PHP_MINIMUM', '7.4' );
define( 'ANG_WP_MINIMUM', '6.0' );
define( 'ANG_VERSION', '2.3.0' );
define( 'ANG_VERSION', '2.3.1' );
define( 'ANG_PLUGIN_FILE', __FILE__ );
define( 'ANG_PLUGIN_URL', plugin_dir_url( ANG_PLUGIN_FILE ) );
define( 'ANG_PLUGIN_DIR', plugin_dir_path( ANG_PLUGIN_FILE ) );
Expand Down
2 changes: 1 addition & 1 deletion inc/Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ public static function is_elementor_container() {
$flexbox_container = get_option( 'elementor_experiment-container' );
$is_flexbox_container_active = \Elementor\Core\Experiments\Manager::STATE_ACTIVE === $flexbox_container;

if ( 'default' === $flexbox_container ) {
if ( 'default' === $flexbox_container || ! $is_flexbox_container_active ) {
$experiments = new \Elementor\Core\Experiments\Manager();
$is_flexbox_container_active = $experiments->is_feature_active( 'container' );
}
Expand Down
9 changes: 0 additions & 9 deletions inc/class-onboarding.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,6 @@ public function __construct() {
wp_safe_redirect( admin_url( 'admin.php?page=analog_onboarding' ) );
update_option( 'analog_onboarding', self::$version );
}

$from = isset( $_GET['from'] ) ? sanitize_text_field( wp_unslash( $_GET['from'] ) ) : '';
$page = isset( $_GET['page'] ) ? sanitize_text_field( wp_unslash( $_GET['page'] ) ) : '';
$is_freemius_redirect = 'freemius' === $from;
$is_onboarding = 'analog_onboarding' === $page;

if ( $is_onboarding && $is_freemius_redirect && $options_table && version_compare( self::$version, $existing_version, '>=' ) ) {
wp_safe_redirect( admin_url( 'admin.php?page=analogwp_templates' ) );
}
}

/**
Expand Down
70 changes: 35 additions & 35 deletions languages/ang.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# This file is distributed under the GPL2.
msgid ""
msgstr ""
"Project-Id-Version: Style Kits for Elementor 2.3.0\n"
"Project-Id-Version: Style Kits for Elementor 2.3.1\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/analogwp-templates\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2024-12-06T13:13:37+00:00\n"
"POT-Creation-Date: 2024-12-07T18:01:40+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.10.0\n"
"X-Domain: ang\n"
Expand Down Expand Up @@ -199,106 +199,106 @@ msgstr ""
msgid "AnalogWP Classes"
msgstr ""

#: inc/class-onboarding.php:55
#: inc/class-onboarding.php:56
#: inc/class-onboarding.php:46
#: inc/class-onboarding.php:47
msgid "Welcome to Style Kits"
msgstr ""

#: inc/class-onboarding.php:91
#: inc/class-onboarding.php:82
#: inc/elementor/kit/Kits_List_Table.php:341
msgid "Working..."
msgstr ""

#: inc/class-onboarding.php:105
#: inc/class-onboarding.php:96
msgid "Install and Activate Elementor"
msgstr ""

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

#: inc/class-onboarding.php:107
#: inc/class-onboarding.php:98
msgid "Elementor is installed and activated"
msgstr ""

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

#: inc/class-onboarding.php:114
#: inc/class-onboarding.php:105
msgid "Enable Elementor container feature"
msgstr ""

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

#: inc/class-onboarding.php:116
#: inc/class-onboarding.php:107
msgid "Container feature is now active"
msgstr ""

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

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

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

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

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

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

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

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

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

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

#: inc/class-onboarding.php:153
#: inc/class-onboarding.php:144
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."
msgstr ""

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

#: inc/class-onboarding.php:155
#: inc/class-onboarding.php:146
msgid "Failed to import a kit"
msgstr ""

#: inc/class-onboarding.php:213
#: inc/class-onboarding.php:204
msgid "Docs"
msgstr ""

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

#. translators: %s: Link text
#: inc/class-onboarding.php:217
#: inc/class-onboarding.php:208
#: inc/elementor/class-ang-action.php:121
#: inc/elementor/class-typography.php:1041
#: inc/elementor/class-typography.php:1926
Expand All @@ -310,33 +310,33 @@ msgstr ""
msgid "Learn more"
msgstr ""

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

#: inc/class-onboarding.php:277
#: inc/class-onboarding.php:268
msgid "Skip wizard"
msgstr ""

#: inc/class-onboarding.php:280
#: inc/class-onboarding.php:271
#: inc/elementor/kit/Kits_List_Table.php:342
#: inc/elementor/kit/Kits_List_Table.php:377
msgid "Apply"
msgstr ""

#: inc/class-onboarding.php:286
#: inc/class-onboarding.php:277
msgid "Go to Dashboard"
msgstr ""

#: inc/class-onboarding.php:287
#: inc/class-onboarding.php:278
msgid "Open a new template"
msgstr ""

#: inc/class-onboarding.php:520
#: inc/class-onboarding.php:511
msgid "Style Kit: Test Page"
msgstr ""

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

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "analogwp-templates",
"version": "2.3.0",
"version": "2.3.1",
"description": "Handfully crafted Elementor templates packs.",
"main": "/client/index.js",
"private": true,
Expand Down
10 changes: 8 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: analogwp, lushkant, johnpixle, mauryaratan
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.7.1
Stable tag: 2.3.0
Stable tag: 2.3.1
Tags: elementor, patterns, global styles, elementor addons, design system
License: GPLv2
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -101,12 +101,18 @@ We offer high-level support for all Style Kits users. Reach out to https://analo

== Changelog ==

= 2.3.1 - December 07, 2024 =
* Fix: Onboarding not working in some cases
* Fix: Library showing Non-container based templates when Container feature is set to default
* Improvement: Updated translation files
* Improvement: Other minor code changes

= 2.3.0 - December 06, 2024 =
* New: Button Sizes/Styles back to Active features
* New: Heading Sizes/Styles back to Active features
* Improvement: Reset and enable size control for Button and Heading widgets
* Improvement: Set minimum PHP required version back to v7.4
* Improvements: Updated translation files
* Improvement: Updated translation files
* Improvement: Other minor code changes

= 2.2.3 - November 27, 2024 =
Expand Down

0 comments on commit efb3553

Please sign in to comment.