Fix wp authenticate filter

This commit is contained in:
Champ Camba
2017-03-14 19:05:13 +08:00
parent 04a91857dd
commit 52ef1cee0b
+1 -1
View File
@@ -74,7 +74,7 @@
}
// if there is an error notify wp
if( $ultimatemember->form->has_error( $field ) || $ultimatemember->form->has_error( $user_password ) || is_wp_error( $user ) ) {
if( $ultimatemember->form->has_error( $field ) || $ultimatemember->form->has_error( $user_password ) ) {
do_action( 'wp_login_failed', $user_name );
}
}