welaika/wordless — Issue #54: Bug in latest_posts_of_category()
Author: endorama
Created: 2012-02-24 11:46:53+00:00
State: open

In `latest_posts_of_category()` inside `QueryHelper` the function does not correctly filter by taxonomy term.

As stated in the WP documentation:

> Important Note: tax_query takes an array of tax query arguments arrays (it takes an array of arrays)

Actually the function pass to `tax_query` only an **array** ( not an **array of array** ) and this results in a wrong query.