mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
Merge branch 'master' of https://github.com/ultimatemember/ultimatemember into development/2.5.4
This commit is contained in:
@@ -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' ) );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user