[wp-trac] [WordPress Trac] #33452: wp_dropdown_categories doesn't respect show_option_all
WordPress Trac
noreply at wordpress.org
Wed Aug 19 22:25:34 UTC 2015
#33452: wp_dropdown_categories doesn't respect show_option_all
--------------------------+-----------------------------
Reporter: dfellini | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.3
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Using the following code:
wp_dropdown_categories('show_option_all=All
Locations&name=location&show_count=1&orderby=name&echo=1&taxonomy=joblocation&value_field=slug');
... yields me a list of states in correct order with 'All Locations'
properly selected by default, up until the 4.3 upgrade. Now it has the
very last item in the list selected by default.
Tested by running plugin on 4.2.4 where it displayed as expected, then
upgrading to 4.3, where the problem was introduced.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33452>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list