WordPress.org

Ready to get started?Download WordPress

Forums

Bug: list_cats() with hide_empty and child_of (1 post)

  1. ammulder
    Member
    Posted 9 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.