Skip to content

Commit

Permalink
fix overfitting language_iso_codes gallery queries
Browse files Browse the repository at this point in the history
  • Loading branch information
FredericoAndrade committed Nov 8, 2024
1 parent d5fd313 commit 5b52009
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wp-content/plugins/wt-gallery/includes/queries.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ function get_custom_gallery_query($atts = array()) {
}, $val_array);
} elseif ($atts['meta_key'] === 'nations_of_origin') {
$compare_operator = '=';
} elseif ($atts['meta_key'] === 'language_iso_codes') {
$compare_operator = '=';
}

if (count($val_array) > 1) {
Expand Down

0 comments on commit 5b52009

Please sign in to comment.