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' ) ); } 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"