Opened 17 years ago
Closed 17 years ago
#9853 closed defect (bug) (duplicate)
wp_dropdown_categories orderby default 'ID' needs to be lowercase 'id'
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 2.8 |
| Component: | Taxonomy | Keywords: | |
| Focuses: | Cc: |
Description
problem
&get_terms in taxonomy.php will translate argument orderby 'id' correctly to 't.term_id' (lines 682-683) but will leave ID as is, so the query fails (as there is no ID to order by)
expected outcome
wp_dropdown_categories produces some output - currently it doesn't cos it gets a blank list of categories unless you specify orderby when you call it.
solution
change the default in wp_dropdown_categories (category-template.php) to 'id' (or make the check in taxonomy.php case-insensitive)
Change History (3)
Note: See
TracTickets for help on using
tickets.