Don't display show_option_none in wp_dropdown_categories when categories exist
|Reported by:||nofearinc||Owned by:|
Description (last modified by SergeyBiryukov)
I can't find an application of having an extra entry for show_option_none select option if we have category listing. Is there any reason to keep it there, like for external filters? If so, that still conflicts with the second example below.
First off, it is invalid since there are some categories available. Second, having both show_option_none and show_option_all displays both entries.
Related to #21856 trying to list only visible terms.
Change History (4)
comment:2 in reply to: ↑ 1 c3mdigital — 4 months ago
- Resolution set to wontfix
- Status changed from new to closed
- Version set to 2.1