From 9558ee3b4c3de391a42899959102a0ac61c8d125 Mon Sep 17 00:00:00 2001 From: FredericoAndrade Date: Fri, 8 Nov 2024 15:25:23 +0100 Subject: [PATCH] fix overfitting language_iso_codes gallery queries --- wp-content/plugins/wt-gallery/includes/queries.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-content/plugins/wt-gallery/includes/queries.php b/wp-content/plugins/wt-gallery/includes/queries.php index c9828f5..854214f 100644 --- a/wp-content/plugins/wt-gallery/includes/queries.php +++ b/wp-content/plugins/wt-gallery/includes/queries.php @@ -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) {