mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-20 15:13:55 +09:00
- strict typing with UM settings;
This commit is contained in:
@@ -513,7 +513,7 @@ class Site_Health {
|
||||
'value' => UM()->options()->get( 'enable_reset_password_limit' ) ? $labels['yes'] : $labels['no'],
|
||||
),
|
||||
);
|
||||
if ( 1 === absint( UM()->options()->get( 'enable_reset_password_limit' ) ) ) {
|
||||
if ( UM()->options()->get( 'enable_reset_password_limit' ) ) {
|
||||
$access_other_settings['um-reset_password_limit_number'] = array(
|
||||
'label' => __( 'Reset Password Limit ', 'ultimate-member' ),
|
||||
'value' => UM()->options()->get( 'reset_password_limit_number' ),
|
||||
|
||||
Reference in New Issue
Block a user