From e07ad95ac1a4476a09aa40282523ab31b15120ba Mon Sep 17 00:00:00 2001 From: Ivan Kancijan Date: Thu, 12 Feb 2026 14:56:55 +0100 Subject: [PATCH 1/2] Add captcha enterprise to non translatable list and fix typo --- CHANGELOG.md | 9 +++++++++ eightshift-forms.php | 2 +- src/Config/Config.php | 4 ++-- src/Helpers/SettingsHelpers.php | 2 +- src/Hooks/Filters.php | 5 +++-- 5 files changed, 16 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e3f7f1081..6431deaa7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ 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/). +## [8.14.2] + +### Fixed + +- Added reCaptcha Enterprise key to the WPML non-translatable list. +- Fixed typo in `PUBLIC_NONE_TRANSLATABLE_NAMES_NAME` constant, associated methods, and keys. + ## [8.14.1] ### Updated @@ -1677,6 +1684,8 @@ This projects adheres to [Semantic Versioning](https://semver.org/) and [Keep a - Initial production release. +[8.14.2]: https://github.com/infinum/eightshift-forms/compare/8.14.1...8.14.2 +[8.14.1]: https://github.com/infinum/eightshift-forms/compare/8.14.0...8.14.1 [8.14.0]: https://github.com/infinum/eightshift-forms/compare/8.13.0...8.14.0 [8.13.0]: https://github.com/infinum/eightshift-forms/compare/8.12.1...8.13.0 [8.12.1]: https://github.com/infinum/eightshift-forms/compare/8.12.0...8.12.1 diff --git a/eightshift-forms.php b/eightshift-forms.php index e78bb2339..3506ca69d 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: 8.14.1 + * Version: 8.14.2 * Text Domain: eightshift-forms * * @package EightshiftForms diff --git a/src/Config/Config.php b/src/Config/Config.php index 676addc04..2ac3b043d 100644 --- a/src/Config/Config.php +++ b/src/Config/Config.php @@ -93,11 +93,11 @@ class Config public const PUBLIC_ACTIONS_NAME = 'actions'; /** - * Constant name for all public none translatable names set on the global variable. + * Constant name for all public non translatable names set on the global variable. * * @var string */ - public const PUBLIC_NONE_TRANSLATABLE_NAMES_NAME = 'noneTranslatableNames'; + public const PUBLIC_NON_TRANSLATABLE_NAMES_NAME = 'nonTranslatableNames'; // ------------------------------------------------------------------ // BLOCKS diff --git a/src/Helpers/SettingsHelpers.php b/src/Helpers/SettingsHelpers.php index ac431248e..960be685d 100644 --- a/src/Helpers/SettingsHelpers.php +++ b/src/Helpers/SettingsHelpers.php @@ -306,7 +306,7 @@ public static function getOptionName(string $key): string { $suffix = ''; - $data = \EIGHTSHIFT_FORMS[Config::PUBLIC_NONE_TRANSLATABLE_NAMES_NAME] ?? []; // @phpstan-ignore-line + $data = \EIGHTSHIFT_FORMS[Config::PUBLIC_NON_TRANSLATABLE_NAMES_NAME] ?? []; // @phpstan-ignore-line if (!isset(\array_flip($data)[$key])) { $locale = I18nHelpers::getLocale(); diff --git a/src/Hooks/Filters.php b/src/Hooks/Filters.php index ec8b197b2..3230935b2 100644 --- a/src/Hooks/Filters.php +++ b/src/Hooks/Filters.php @@ -60,7 +60,7 @@ public static function getHooksData(): array return [ Config::PUBLIC_FILTERS_NAME => self::getPublicFilters(), Config::PUBLIC_ACTIONS_NAME => self::getPublicActions(), - Config::PUBLIC_NONE_TRANSLATABLE_NAMES_NAME => self::getSettingsNoneTranslatableNames(), + Config::PUBLIC_NON_TRANSLATABLE_NAMES_NAME => self::getSettingsNonTranslatableNames(), ]; } @@ -362,10 +362,11 @@ private static function getPublicActions(): array * * @return array */ - private static function getSettingsNoneTranslatableNames(): array + private static function getSettingsNonTranslatableNames(): array { return [ SettingsCaptcha::SETTINGS_CAPTCHA_USE_KEY, + SettingsCaptcha::SETTINGS_CAPTCHA_ENTERPRISE_KEY, SettingsCaptcha::SETTINGS_CAPTCHA_SITE_KEY, SettingsCaptcha::SETTINGS_CAPTCHA_SECRET_KEY, SettingsCaptcha::SETTINGS_CAPTCHA_PROJECT_ID_KEY, From 2129a67d3704c158c9639a6745690259961278f4 Mon Sep 17 00:00:00 2001 From: Ivan Kancijan <135589039+kancijan@users.noreply.github.com> Date: Thu, 12 Feb 2026 16:03:07 +0100 Subject: [PATCH 2/2] Update src/Config/Config.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Goran Alković <77000136+goranalkovic-infinum@users.noreply.github.com> --- src/Config/Config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Config/Config.php b/src/Config/Config.php index 2ac3b043d..eb28ecfda 100644 --- a/src/Config/Config.php +++ b/src/Config/Config.php @@ -93,7 +93,7 @@ class Config public const PUBLIC_ACTIONS_NAME = 'actions'; /** - * Constant name for all public non translatable names set on the global variable. + * Constant name for all public non-translatable names set on the global variable. * * @var string */