From f8bf6e40ca3043e3965b09bc81797f5fe324e152 Mon Sep 17 00:00:00 2001 From: Cooper Dalrymple Date: Thu, 18 Jun 2026 12:32:36 -0500 Subject: [PATCH 1/3] Fix setters --- inc/class-settings.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/class-settings.php b/inc/class-settings.php index 7cf3804..a1526da 100644 --- a/inc/class-settings.php +++ b/inc/class-settings.php @@ -4,7 +4,7 @@ * @author cleverogre * @copyright 2026 CleverOgre * @license GLP-3.0-or-later - * @version 1.2.1 + * @version 1.2.3 * @since 1.0.0 */ @@ -122,7 +122,7 @@ final class Settings { } public static function set_site_key(string $value):bool { - self::get('site_key'); + self::set('site_key', $value); return true; } @@ -131,7 +131,7 @@ final class Settings { } public static function set_secret_key(string $value):bool { - self::get('secret_key'); + self::set('secret_key', $value); return true; } From 21652244549d4311ec8be5be2f9c5d0b1e4c89ec Mon Sep 17 00:00:00 2001 From: Cooper Dalrymple Date: Thu, 18 Jun 2026 12:32:41 -0500 Subject: [PATCH 2/3] Update packages --- composer.lock | 2 +- package-lock.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.lock b/composer.lock index 2896b32..0d32874 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "49f5e6f919f33ce6a3edc2992620a64a", + "content-hash": "d662e21940aa15a41d819c504c3139c9", "packages": [ { "name": "cleverogre/plugin-framework", diff --git a/package-lock.json b/package-lock.json index 47b4a20..58a4350 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cleverogre/ogre-captcha", - "version": "1.0.0", + "version": "1.2.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cleverogre/ogre-captcha", - "version": "1.0.0", + "version": "1.2.3", "license": "GPL-3.0+", "devDependencies": { "gulp": "^5.0.0", From 20b812e91b1ddb5ed070670f4893125d97e8f4eb Mon Sep 17 00:00:00 2001 From: Cooper Dalrymple Date: Thu, 18 Jun 2026 12:32:56 -0500 Subject: [PATCH 3/3] Fix lost password callback --- inc/location/class-lost-password-form.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/location/class-lost-password-form.php b/inc/location/class-lost-password-form.php index bdebeb8..a7a7da6 100644 --- a/inc/location/class-lost-password-form.php +++ b/inc/location/class-lost-password-form.php @@ -4,7 +4,7 @@ * @author cleverogre * @copyright 2026 CleverOgre * @license GLP-3.0-or-later - * @version 1.2.0 + * @version 1.2.3 * @since 1.0.0 */ @@ -35,7 +35,7 @@ final class LostPasswordForm extends LoginLocation { { parent::activate(); add_action('lostpassword_form', [$this, 'render']); - add_action('lostpassword_post', [$this, 'process_form']); + add_action('lostpassword_post', [$this, 'process_form'], 10, 2); } public function process_form(WP_Error $errors, WP_User|bool $user_data):void {