- strict typing with UM settings;

This commit is contained in:
Mykyta Synelnikov
2024-03-07 02:02:03 +02:00
parent abc0b9b331
commit 41e9a50e0b
5 changed files with 43 additions and 45 deletions
+1 -1
View File
@@ -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' ),