From d18943771d7858cae29b8e5f466f34d268a16957 Mon Sep 17 00:00:00 2001 From: Daniel Winzen Date: Tue, 10 Jan 2023 13:11:18 +0100 Subject: [PATCH 1/2] Fix honeypot triggering in password reset, when not set --- includes/core/class-password.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/core/class-password.php b/includes/core/class-password.php index b2dc4053..28a0a38b 100644 --- a/includes/core/class-password.php +++ b/includes/core/class-password.php @@ -437,7 +437,7 @@ if ( ! class_exists( 'um\core\Password' ) ) { * @param $args */ public function um_reset_password_errors_hook( $args ) { - if ( '' !== $args[ UM()->honeypot ] ) { + if ( isset( $args[ UM()->honeypot ] ) && '' !== $args[ UM()->honeypot ] ) { wp_die( esc_html__( 'Hello, spam bot!', 'ultimate-member' ) ); } From 6c50e85c1059d1fa5075479563db774d9ea5e0b4 Mon Sep 17 00:00:00 2001 From: "WordPress .pot File Generator" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 14 Feb 2023 09:33:28 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=94=84=20Generated=20POT=20File?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- languages/ultimate-member.pot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/languages/ultimate-member.pot b/languages/ultimate-member.pot index a0b49578..c8e357e7 100644 --- a/languages/ultimate-member.pot +++ b/languages/ultimate-member.pot @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Ultimate Member +# Copyright (C) 2023 Ultimate Member # This file is distributed under the same license as the Ultimate Member plugin. msgid "" msgstr "" @@ -9,7 +9,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2022-12-19T13:55:39+00:00\n" +"POT-Creation-Date: 2023-02-14T09:33:25+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.7.1\n" "X-Domain: ultimate-member\n"