wp_list_categories hide_empty do not work when items in trash
|Reported by:||thomask||Owned by:|
wp_list_categories hide_empty function show terms with the items in trash only (and probably also in draft state and other non visible modes), the same with show_count, which show numbers also for not accesible articles.
The same bug will be probably in other similar functions, e.g wp_dropdown_categories as it is probably because of checking the new post 3.0 possibilities of post_status in the function which increases term_taxonomy count field (my blind guess) - i just cannot find where the bug sits
P.S.: IMO we should also switch the naming to wp_list_terms wp_dropdown_terms ... and create wp_list_categories... as child functions