WordPress.org

Support

Support » Requests and Feedback » Bug: list_cats() with hide_empty and child_of

Bug: list_cats() with hide_empty and child_of

  • If list_cats() is called with hide_empty set to true and child_of nonzero, it doesn’t work. When hide_empty is set, the SQL executed does not include the category_parent column, so none of the results have parents, and child_of thus always matches nothing.

  • The topic ‘Bug: list_cats() with hide_empty and child_of’ is closed to new replies.