Merge pull request 'Minor bug fixes' (#8) from minor-bug-fixes into main

Reviewed-on: #8
This commit was merged in pull request #8.
This commit is contained in:
2026-06-18 17:33:52 +00:00
4 changed files with 8 additions and 8 deletions
Generated
+1 -1
View File
@@ -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",
+3 -3
View File
@@ -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;
}
+2 -2
View File
@@ -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 {
+2 -2
View File
@@ -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",