Fixes template tags parsing params of tainacan_the_faceted_search();

This commit is contained in:
mateuswetah 2020-05-13 12:12:48 -03:00
parent debc4e6507
commit c259cee660
1 changed files with 1 additions and 1 deletions

View File

@ -339,7 +339,7 @@ function tainacan_the_faceted_search($args = array()) {
// Passes arguments to custom props
foreach ($args as $key => $value) {
if ($value == true || $value == 'true') {
$props .= str_replace('_', '-', $key); . '="' . $value . '" ';
$props .= str_replace('_', '-', $key) . '="' . $value . '" ';
}
}