From 0df472e7b80f3e1ca8584a3f7b7cbf0c81432dcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chris=20G=C3=A5rdenberg?= Date: Mon, 3 Jun 2024 14:29:36 +0200 Subject: [PATCH 1/4] feat: Adding new endpoints and classes --- includes/eduadmin-api-phpclient | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/eduadmin-api-phpclient b/includes/eduadmin-api-phpclient index 089ea4a7..52fa2d07 160000 --- a/includes/eduadmin-api-phpclient +++ b/includes/eduadmin-api-phpclient @@ -1 +1 @@ -Subproject commit 089ea4a720cc5cdead964cac45b42ce018a9bcd3 +Subproject commit 52fa2d07454121cdb56bf9f08e9e016b955aca96 From ff8055dfda0cb4e805977895136a2a0df6135f33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chris=20G=C3=A5rdenberg?= Date: Mon, 19 Aug 2024 14:14:04 +0200 Subject: [PATCH 2/4] fix: Fixes incorrect encoding after PHP 8.1 changing how things work. fixes #526 --- PLUGIN-CHECKSUM | 2 +- includes/edu-text-functions.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/PLUGIN-CHECKSUM b/PLUGIN-CHECKSUM index d2089e7d..daa9f979 100644 --- a/PLUGIN-CHECKSUM +++ b/PLUGIN-CHECKSUM @@ -1 +1 @@ -e29b0dd069aa125c9c8fa6bd4860e8a0 +fcd1f5b6a25108d36c45f6eefc1c7ca5 diff --git a/includes/edu-text-functions.php b/includes/edu-text-functions.php index 7bd862c2..011e466b 100644 --- a/includes/edu-text-functions.php +++ b/includes/edu-text-functions.php @@ -852,7 +852,8 @@ function get_spots_left( $free_spots, $max_spots, $spot_option = 'exactNumbers', function get_utf8( $input ) { $order = array( 'utf-8', 'iso-8859-1', 'iso-8859-15', 'windows-1251' ); - if ( 'UTF-8' === mb_detect_encoding( $input, $order, true ) ) { + + if ( mb_check_encoding( $input, 'UTF-8' ) ) { return $input; } From 42ed65d3d3c3e329d05b63b40968fe0627396493 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chris=20G=C3=A5rdenberg?= Date: Mon, 19 Aug 2024 14:15:03 +0200 Subject: [PATCH 3/4] chore(release): 5.1.0 --- CHANGELOG.md | 12 ++++++++++++ package.json | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6384b826..fd8481cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,18 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [5.1.0](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v5.0.1...v5.1.0) (2024-08-19) + + +### Features + +* Adding new endpoints and classes ([0df472e](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/0df472e7b80f3e1ca8584a3f7b7cbf0c81432dcc)) + + +### Bug Fixes + +* Fixes incorrect encoding after PHP 8.1 changing how things work. ([ff8055d](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/ff8055dfda0cb4e805977895136a2a0df6135f33)), closes [#526](https://github.com/MultinetInteractive/EduAdmin-WordPress/issues/526) + ### [5.0.1](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v5.0.0...v5.0.1) (2024-04-09) diff --git a/package.json b/package.json index 3a012ab7..f91cda69 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "eduadmin-wordpress-plugin", "private": true, - "version": "5.0.1", + "version": "5.1.0", "repository": "https://github.com/MultinetInteractive/EduAdmin-WordPress.git", "author": "Chris GĂ„rdenberg ", "license": "MIT", From 1815d00c492689f2b7612fc9d188a46f04a76a0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chris=20G=C3=A5rdenberg?= Date: Mon, 19 Aug 2024 14:15:06 +0200 Subject: [PATCH 4/4] chore: versionbump --- PLUGIN-CHECKSUM | 2 +- eduadmin.php | 2 +- readme.md | 21 +++++++++++++-------- readme.txt | 21 +++++++++++++-------- 4 files changed, 28 insertions(+), 18 deletions(-) diff --git a/PLUGIN-CHECKSUM b/PLUGIN-CHECKSUM index daa9f979..51f8573f 100644 --- a/PLUGIN-CHECKSUM +++ b/PLUGIN-CHECKSUM @@ -1 +1 @@ -fcd1f5b6a25108d36c45f6eefc1c7ca5 +8d77d35cf6513feeb6b87d781ee03435 diff --git a/eduadmin.php b/eduadmin.php index 7ef0c944..3d624b72 100644 --- a/eduadmin.php +++ b/eduadmin.php @@ -9,7 +9,7 @@ * Plugin URI: https://www.eduadmin.se * Description: EduAdmin plugin to allow visitors to book courses at your website * Tags: booking, participants, courses, events, eduadmin, lega online - * Version: 5.0.1 + * Version: 5.1.0 * GitHub Plugin URI: multinetinteractive/eduadmin-wordpress * GitHub Plugin URI: https://github.com/multinetinteractive/eduadmin-wordpress * Requires at least: 6.0 diff --git a/readme.md b/readme.md index 9aac9228..6b0da6e2 100644 --- a/readme.md +++ b/readme.md @@ -1,7 +1,7 @@ # EduAdmin Booking - Requires at least: 6.0 - Tested up to: 6.6 -- Stable tag: 5.0.1 +- Stable tag: 5.1.0 - Requires PHP: 8.1 - License: GPL3 - License URI: https://www.gnu.org/licenses/gpl-3.0.en.html @@ -40,6 +40,18 @@ If you notice that your API key doesn't work any more, you have to contact us. The full changelog available on [GitHub](https://github.com/MultinetInteractive/EduAdmin-WordPress/blob/production/CHANGELOG.md) +### [5.1.0](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v5.0.1...v5.1.0) (2024-08-19) + + +#### Features + +* Adding new endpoints and classes ([0df472e](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/0df472e7b80f3e1ca8584a3f7b7cbf0c81432dcc)) + + +#### Bug Fixes + +* Fixes incorrect encoding after PHP 8.1 changing how things work. ([ff8055d](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/ff8055dfda0cb4e805977895136a2a0df6135f33)), closes [#526](https://github.com/MultinetInteractive/EduAdmin-WordPress/issues/526) + ### [5.0.1](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v5.0.0...v5.0.1) (2024-04-09) @@ -70,12 +82,5 @@ The full changelog available on [GitHub](https://github.com/MultinetInteractive/ * Only check description if it actually contains anything ([33234df](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/33234dff3445e6642281cb5aa53ef674485a7fe0)) -### [4.2.3](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v4.2.2...v4.2.3) (2024-02-09) - - -#### Bug Fixes - -* #[\ReturnTypeWillChange] instead of typing, because PHP is.. well PHP ([7684891](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/7684891ff6d55b58e186a2569d42674792e7f543)) - diff --git a/readme.txt b/readme.txt index fcc4d14e..0461f073 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: mnchga Tags: booking, participants, courses, events, eduadmin, lega online Requires at least: 6.0 Tested up to: 6.6 -Stable tag: 5.0.1 +Stable tag: 5.1.0 Requires PHP: 8.1 License: GPL3 License URI: https://www.gnu.org/licenses/gpl-3.0.en.html @@ -45,6 +45,18 @@ If you notice that your API key doesn't work any more, you have to contact us. The full changelog available on [GitHub](https://github.com/MultinetInteractive/EduAdmin-WordPress/blob/production/CHANGELOG.md) +### [5.1.0](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v5.0.1...v5.1.0) (2024-08-19) + + +#### Features + +* Adding new endpoints and classes ([0df472e](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/0df472e7b80f3e1ca8584a3f7b7cbf0c81432dcc)) + + +#### Bug Fixes + +* Fixes incorrect encoding after PHP 8.1 changing how things work. ([ff8055d](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/ff8055dfda0cb4e805977895136a2a0df6135f33)), closes [#526](https://github.com/MultinetInteractive/EduAdmin-WordPress/issues/526) + ### [5.0.1](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v5.0.0...v5.0.1) (2024-04-09) @@ -75,12 +87,5 @@ The full changelog available on [GitHub](https://github.com/MultinetInteractive/ * Only check description if it actually contains anything ([33234df](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/33234dff3445e6642281cb5aa53ef674485a7fe0)) -### [4.2.3](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v4.2.2...v4.2.3) (2024-02-09) - - -#### Bug Fixes - -* #[\ReturnTypeWillChange] instead of typing, because PHP is.. well PHP ([7684891](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/7684891ff6d55b58e186a2569d42674792e7f543)) -