Skip to content

Commit f576997

Browse files
authored
Update class-inactive-users.php
1 parent 667ac45 commit f576997

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/inactive-users/class-inactive-users.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public static function record_activity() {
144144
return;
145145
}
146146

147-
if ( self::is_considered_inactive( $user_id ) ) {
147+
if ( self::is_block_action_enabled() && self::is_considered_inactive( $user_id ) ) {
148148
// User needs to be unblocked first
149149
return;
150150
}

0 commit comments

Comments
 (0)