Merge branch 'master' of https://github.com/ultimatemember/ultimatemember into development/2.5.4

This commit is contained in:
Nikita Sinelnikov
2023-02-14 11:34:40 +02:00
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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' ) );
}