Opened 6 years ago
Closed 4 years ago
#42521 closed feature request (wontfix)
create WP_DROPDOWN function
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | low | |
Severity: | normal | Version: | |
Component: | Administration | Keywords: | |
Focuses: | Cc: |
Description
there are bunch of dropdown functions,
like wp_categories_dropdown(), wp-pages-dropdowns, users and etc (i dont remember even).
It was good, there was common wp_dropdown
function, which will accept $type as argument (or in array):
wp_dropdown(array('type'=>'pages', ..... )) or wp_dropdown(array('type'=>'categories', ..... )) or wp_dropdown(array('type'=>'users', ..... )) or so on
Change History (3)
#2
@
6 years ago
- Component changed from General to Administration
- Keywords 2nd-opinion close added
- Priority changed from normal to low
Adding a generic PHP dropdown function doesn't seem like a worthy use of time at present, especially as more user interfaces slowly move to a Javascript-based approach (where dropdowns will hopeufully be a lot smoother and handle larger-sites)
Note: See
TracTickets for help on using
tickets.
same could be done with other similar functions, like, instead of
wp_category_checklist
there waswp_checklist
, accepting different types..