#21135 closed defect (bug) (invalid)
hide_if_empty works the wrong way
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 3.4 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
In the function wp_dropdown_categories the option hide_if_empty works the wrong way.
Default is set to false and empty categories are not shown.
Set it to true, empty categories are shown.
Change History (2)
Note: See
TracTickets for help on using
tickets.

As stated in Codex, default hide_if_empty value for wp_dropdown_categories() is 1/true:
http://core.trac.wordpress.org/browser/tags/3.4.1/wp-includes/category-template.php#L299