diff --git a/classes/class-log.php b/classes/class-log.php index 81f4c575d..b119affe6 100644 --- a/classes/class-log.php +++ b/classes/class-log.php @@ -197,7 +197,7 @@ public function is_record_excluded( $connector, $context, $action, $user = null, $exclude_rules = array_filter( $exclude, function ( $value ) { - return ! is_null( $value ) && '' !== $value; + return ! is_null( $value ); } );