diff --git a/CHANGELOG.md b/CHANGELOG.md index fd8481cf..2d22d71f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ 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.1](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v5.1.0...v5.1.1) (2024-09-18) + + +### Bug Fixes + +* Fetch AnswerId for checkbox questions the correct way ([d123497](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/d123497be9795741796aad8f13469623bc072701)) + ## [5.1.0](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v5.0.1...v5.1.0) (2024-08-19) diff --git a/PLUGIN-CHECKSUM b/PLUGIN-CHECKSUM index 51f8573f..778ce883 100644 --- a/PLUGIN-CHECKSUM +++ b/PLUGIN-CHECKSUM @@ -1 +1 @@ -8d77d35cf6513feeb6b87d781ee03435 +82f331131f31fd66cae9790bd4a79bc3 diff --git a/eduadmin.php b/eduadmin.php index 3d624b72..21541006 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.1.0 + * Version: 5.1.1 * GitHub Plugin URI: multinetinteractive/eduadmin-wordpress * GitHub Plugin URI: https://github.com/multinetinteractive/eduadmin-wordpress * Requires at least: 6.0 diff --git a/includes/edu-question-functions.php b/includes/edu-question-functions.php index 2b81eb90..0619d25b 100644 --- a/includes/edu-question-functions.php +++ b/includes/edu-question-functions.php @@ -63,7 +63,7 @@ function edu_render_checkbox_question( $question, $multiple, $suffix ) { echo ' onchange="eduBookingView.UpdatePrice();"'; if ( $multiple ) { echo ' data-replace="name|index"'; - echo ' data-name-template="question_' . esc_attr( $question['AnswerId'] . '_check' . ( '' !== $suffix ? '-' . $suffix : '' ) . '_{{index}}' ) . '"'; + echo ' data-name-template="question_' . esc_attr( $q['AnswerId'] . '_check' . ( '' !== $suffix ? '-' . $suffix : '' ) . '_{{index}}' ) . '"'; } echo ' name="question_' . esc_attr( $q['AnswerId'] . '_check' . ( '' !== $suffix ? '-' . $suffix : '' ) . ( $multiple ? ( 'contact' === $suffix ? '' : '_-1' ) : '' ) ) . '"' . ( $question['Mandatory'] ? ' data-required="true"' : '' ) . ' value="' . esc_attr( $q['AnswerId'] ) . '" /> '; echo esc_html( wp_strip_all_tags( $q['AnswerText'] ) ); diff --git a/package.json b/package.json index f91cda69..795168e5 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "eduadmin-wordpress-plugin", "private": true, - "version": "5.1.0", + "version": "5.1.1", "repository": "https://github.com/MultinetInteractive/EduAdmin-WordPress.git", "author": "Chris GĂ„rdenberg ", "license": "MIT", diff --git a/readme.md b/readme.md index 6b0da6e2..50e57daa 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.1.0 +- Stable tag: 5.1.1 - Requires PHP: 8.1 - License: GPL3 - License URI: https://www.gnu.org/licenses/gpl-3.0.en.html @@ -40,6 +40,13 @@ 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.1](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v5.1.0...v5.1.1) (2024-09-18) + + +#### Bug Fixes + +* Fetch AnswerId for checkbox questions the correct way ([d123497](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/d123497be9795741796aad8f13469623bc072701)) + ### [5.1.0](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v5.0.1...v5.1.0) (2024-08-19) @@ -70,17 +77,5 @@ The full changelog available on [GitHub](https://github.com/MultinetInteractive/ * Updated required WP and PHP, changes are already made in code (353e4dd7c1bfa5aa31ee67e0572220acca3a6387) ([29b0adc](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/29b0adc497a8d60d906784dd65ef04c824b42184)) -### [4.3.0](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v4.2.3...v4.3.0) (2024-04-08) - - -#### Features - -* Support for EduAdmin Form Reserve/Waiting Lists when the event is fully booked. ([3680b47](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/3680b4703298c57210f5d025a70fbbf1f6565a3d)), closes [#455](https://github.com/MultinetInteractive/EduAdmin-WordPress/issues/455) - - -#### Bug Fixes - -* Only check description if it actually contains anything ([33234df](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/33234dff3445e6642281cb5aa53ef674485a7fe0)) - diff --git a/readme.txt b/readme.txt index 0461f073..af962e45 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.1.0 +Stable tag: 5.1.1 Requires PHP: 8.1 License: GPL3 License URI: https://www.gnu.org/licenses/gpl-3.0.en.html @@ -45,6 +45,13 @@ 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.1](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v5.1.0...v5.1.1) (2024-09-18) + + +#### Bug Fixes + +* Fetch AnswerId for checkbox questions the correct way ([d123497](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/d123497be9795741796aad8f13469623bc072701)) + ### [5.1.0](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v5.0.1...v5.1.0) (2024-08-19) @@ -75,17 +82,5 @@ The full changelog available on [GitHub](https://github.com/MultinetInteractive/ * Updated required WP and PHP, changes are already made in code (353e4dd7c1bfa5aa31ee67e0572220acca3a6387) ([29b0adc](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/29b0adc497a8d60d906784dd65ef04c824b42184)) -### [4.3.0](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v4.2.3...v4.3.0) (2024-04-08) - - -#### Features - -* Support for EduAdmin Form Reserve/Waiting Lists when the event is fully booked. ([3680b47](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/3680b4703298c57210f5d025a70fbbf1f6565a3d)), closes [#455](https://github.com/MultinetInteractive/EduAdmin-WordPress/issues/455) - - -#### Bug Fixes - -* Only check description if it actually contains anything ([33234df](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/33234dff3445e6642281cb5aa53ef674485a7fe0)) -