Make WordPress Core

Opened 6 years ago

Closed 4 years ago

#42521 closed feature request (wontfix)

create WP_DROPDOWN function

Reported by: tazotodua's profile tazotodua 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)

#1 @tazotodua
6 years ago

same could be done with other similar functions, like, instead of wp_category_checklist there was wp_checklist, accepting different types..

#2 @dd32
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)

#3 @desrosj
4 years ago

  • Keywords 2nd-opinion close removed
  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

I agree with @dd32. Let's close this one out.

@tazotodua Thank you for taking the time to make this suggestion, but it doesn't seem to be a good fit.

Note: See TracTickets for help on using tickets.