diff --git a/CHANGELOG.md b/CHANGELOG.md index 1638559d3..81e93db07 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. This projects adheres to [Semantic Versioning](https://semver.org/) and [Keep a CHANGELOG](https://keepachangelog.com/). +## [5.1.4] + +### Fixed + +- Fixing broken setting key for hide form. + ## [5.1.3] ### Fixed @@ -698,6 +704,7 @@ This projects adheres to [Semantic Versioning](https://semver.org/) and [Keep a - Initial production release. +[5.1.4]: https://github.com/infinum/eightshift-forms/compare/5.1.3...5.1.4 [5.1.3]: https://github.com/infinum/eightshift-forms/compare/5.1.2...5.1.3 [5.1.2]: https://github.com/infinum/eightshift-forms/compare/5.1.1...5.1.2 [5.1.1]: https://github.com/infinum/eightshift-forms/compare/5.1.0...5.1.1 diff --git a/eightshift-forms.php b/eightshift-forms.php index 498e7f8c7..42492dbd9 100644 --- a/eightshift-forms.php +++ b/eightshift-forms.php @@ -6,7 +6,7 @@ * Description: Eightshift Forms is a complete form builder plugin that utilizes modern Block editor features with multiple third-party integrations, bringing your project to a new level. * Author: WordPress team @Infinum * Author URI: https://eightshift.com/ - * Version: 5.1.3 + * Version: 5.1.4 * Text Domain: eightshift-forms * * @package EightshiftForms diff --git a/src/General/SettingsGeneral.php b/src/General/SettingsGeneral.php index aa1aa581b..a74a47550 100644 --- a/src/General/SettingsGeneral.php +++ b/src/General/SettingsGeneral.php @@ -264,21 +264,6 @@ function ($selectOption) use ($successRedirectVariation) { ) ), ], - [ - 'component' => 'checkboxes', - 'checkboxesFieldLabel' => '', - 'checkboxesName' => UtilsSettingsHelper::getSettingName(self::SETTINGS_HIDE_FORM_ON_SUCCESS_KEY), - 'checkboxesContent' => [ - [ - 'component' => 'checkbox', - 'checkboxLabel' => \__('Hide form on success', 'eightshift-forms'), - 'checkboxIsChecked' => UtilsSettingsHelper::isSettingCheckboxChecked(self::SETTINGS_HIDE_FORM_ON_SUCCESS_KEY, self::SETTINGS_HIDE_FORM_ON_SUCCESS_KEY, $formId), - 'checkboxValue' => self::SETTINGS_HIDE_FORM_ON_SUCCESS_KEY, - 'checkboxSingleSubmit' => true, - 'checkboxAsToggle' => true, - ] - ] - ], ], ], [