diff --git a/wp-includes/functions.php b/wp-includes/functions.php index ab208f9a9..06876b208 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -3208,7 +3208,7 @@ function wp_list_filter( $list, $args = array(), $operator = 'AND' ) { } if ( ( 'AND' == $operator && $matched == $count ) - || ( 'OR' == $operator && $matched <= $count ) + || ( 'OR' == $operator && $matched > 0 ) || ( 'NOT' == $operator && 0 == $matched ) ) { $filtered[$key] = $obj; }