Commit ded79454 authored by Thomas Lartaud's avatar Thomas Lartaud
Browse files

fix categories widget option "Hide empty" not working

parent ebb78bb6
......@@ -105,7 +105,7 @@ if (!class_exists('CUAR_TermsWidget')) :
'post_type' => $this->get_friendly_post_type(),
'posts_per_page' => -1,
'fields' => 'ids',
'meta' => $po_addon->get_meta_query_post_owned_by(get_current_user_id()),
'meta_query' => $po_addon->get_meta_query_post_owned_by(get_current_user_id()),
]);
$post_ids = $query->get_posts();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment