#12494 closed enhancement (fixed)
Allow selectable value in Walker_*Dropdown classes
| Reported by: | jfarthing84 | Owned by: | boonebgorges |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.2 |
| Component: | Posts, Post Types | Version: | |
| Severity: | normal | Keywords: | dev-feedback has-patch |
| Cc: | Focuses: | template |
Description
I think we should be able to select either term_id or term_slug as the output value for Walker_CategoryDropdown class and likewise either ID or post_name for Walker_PageDropdown class.
Attachments (2)
Change History (10)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In researching this, I noticed that many different relating functions use the filter 'list_cats' on many different attributes, which seems misguided, because how do you differentiate between the attributes? Shouldn't each one have it's own filter?