mirror of
git://develop.git.wordpress.org/
synced 2025-02-26 17:42:26 +01:00
When generating a `<ul>` using `wp_list_categories()`, a title `<li>` element is put at the top of the term list. Current behavior is that this title `<li>` appears even when no terms are found. The new `hide_title_if_no_cats` param allows developers to specify that the title should be hidden when the term list is empty. Props vilkatis. Fixes #33460. git-svn-id: https://develop.svn.wordpress.org/trunk@33764 602fd350-edb4-49c9-b593-d223f7449a82