mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- fixed #810;
This commit is contained in:
@@ -653,6 +653,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'type' => 'number',
|
||||
'label' => __( 'Activation link lifetime', 'ultimate-member' ),
|
||||
'tooltip' => __( 'How long does an activation link live? Leave empty for endless links.', 'ultimate-member' ),
|
||||
'size' => 'small',
|
||||
),
|
||||
)
|
||||
),
|
||||
|
||||
@@ -75,7 +75,7 @@ function um_submit_form_errors_hook_login( $args ) {
|
||||
|
||||
// if there is an error notify wp
|
||||
if ( UM()->form()->has_error( $field ) || UM()->form()->has_error( $user_password ) || UM()->form()->count_errors() > 0 ) {
|
||||
do_action( 'wp_login_failed', $user_name );
|
||||
do_action( 'wp_login_failed', $user_name, UM()->form()->errors );
|
||||
}
|
||||
}
|
||||
add_action( 'um_submit_form_errors_hook_login', 'um_submit_form_errors_hook_login', 10 );
|
||||
|
||||
@@ -177,6 +177,7 @@ The plugin works with popular caching plugins by automatically excluding Ultimat
|
||||
- Fixed: Getting active Profile tab when some of them are hidden
|
||||
- Fixed: Restricted content message is showing twice and removing header, avoid the conflicts with themes that use 'the_content' filter in header or footer (#799)
|
||||
- Fixed: "Is required" validation for the multiselect field-type when it's empty on submit
|
||||
- Fixed: Using 'wp_login_failed' hook, added 2nd parameter required since WordPress 5.4 version (#810)
|
||||
|
||||
= 2.1.16: March 10, 2021 =
|
||||
|
||||
|
||||
Reference in New Issue
Block a user