Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

I have absolutely no idea how it could possibly work without this fix…

…. In any case, this fixes what *should* be a critical bug.
  • Loading branch information...
commit 2fecd736842cfa76bc7acd965a16951de46d71ff 1 parent 01da13b
Sammy Nordström samface authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  functions_post.php
2  functions_post.php
View
@@ -1477,7 +1477,7 @@ function simple_fields_query_posts($query_args = array()) {
break;
}
}
- $meta_query_args = simple_fields_get_meta_query($query_args['sf_group'], $query_args['sf_field'], $query_args['sf_compare'], $query_args['sf_type'], $query_args['sf_order'], $query_args['sf_num_in_set']);
+ $meta_query_args = simple_fields_get_meta_query($query_args['sf_group'], $query_args['sf_field'], $query_args['sf_value'], $query_args['sf_compare'], $query_args['sf_type'], $query_args['sf_order'], $query_args['sf_num_in_set']);
$query_args = array_merge($query_args, $meta_query_args);
return new WP_Query($query_args);
}
Please sign in to comment.
Something went wrong with that request. Please try again.