From daa735b57e32e71ba89906a8404ad8b9b76fc873 Mon Sep 17 00:00:00 2001 From: "themeisle[bot]" Date: Mon, 15 Apr 2024 10:49:30 +0000 Subject: [PATCH 1/2] chore(release): 3.3.19 [skip ci] ##### [Version 3.3.19](https://github.com/Codeinwp/themeisle-sdk/compare/v3.3.18...v3.3.19) (2024-04-15) Add full translation support --- CHANGELOG.md | 4 ++++ composer.json | 2 +- load.php | 2 +- package.json | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 304ebbc0..05bb746b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +##### [Version 3.3.19](https://github.com/Codeinwp/themeisle-sdk/compare/v3.3.18...v3.3.19) (2024-04-15) + +Add full translation support + ##### [Version 3.3.18](https://github.com/Codeinwp/themeisle-sdk/compare/v3.3.17...v3.3.18) (2024-04-05) ### Big Fixes diff --git a/composer.json b/composer.json index 3bff1e37..89c97f74 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,7 @@ "homepage": "https://themeisle.com" } ], - "version": "3.3.18", + "version": "3.3.19", "require-dev": { "codeinwp/phpcs-ruleset": "dev-main" }, diff --git a/load.php b/load.php index d3f7262a..f040a17e 100644 --- a/load.php +++ b/load.php @@ -14,7 +14,7 @@ return; } // Current SDK version and path. -$themeisle_sdk_version = '3.3.18'; +$themeisle_sdk_version = '3.3.19'; $themeisle_sdk_path = dirname( __FILE__ ); global $themeisle_sdk_max_version; diff --git a/package.json b/package.json index 83fa90de..ffe776e6 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "themeisle-sdk", "description": "Themeisle SDK", - "version": "3.3.18", + "version": "3.3.19", "scripts": { "dev": "npm run start", "start:promos": "wp-scripts start assets/js/src/index.js --output-path=assets/js/build/promos", From d4545f9bde33c503e7097f724a40565d85ba4865 Mon Sep 17 00:00:00 2001 From: selul Date: Tue, 16 Apr 2024 15:26:46 +0300 Subject: [PATCH 2/2] release: fixes fix required params on sprintf --- src/Modules/Licenser.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Modules/Licenser.php b/src/Modules/Licenser.php index ccc9a806..3c1a40f3 100644 --- a/src/Modules/Licenser.php +++ b/src/Modules/Licenser.php @@ -379,8 +379,8 @@ public function show_notice() { $status = $this->get_license_status( true ); $no_activations_string = apply_filters( $this->product->get_key() . '_lc_no_activations_string', Loader::$labels['licenser']['no_activations'] ); - $no_valid_string = apply_filters( $this->product->get_key() . '_lc_no_valid_string', sprintf( Loader::$labels['licenser']['inactive'], '', '', '', '' ) ); - $expired_license_string = apply_filters( $this->product->get_key() . '_lc_expired_string', sprintf( Loader::$labels['licenser']['expired'], '', '' ) ); + $no_valid_string = apply_filters( $this->product->get_key() . '_lc_no_valid_string', sprintf( Loader::$labels['licenser']['inactive'], '%s', '', '', '', '' ) ); + $expired_license_string = apply_filters( $this->product->get_key() . '_lc_expired_string', sprintf( Loader::$labels['licenser']['expired'], '%s', '', '' ) ); // No activations left for this license. if ( 'valid' != $status && $this->check_activation() ) { ?>