[wp-trac] [WordPress Trac] #42521: create WP_DROPDOWN function

WordPress Trac noreply at wordpress.org
Sun Nov 12 17:25:43 UTC 2017


#42521: create WP_DROPDOWN function
-----------------------------+-----------------------------
 Reporter:  tazotodua        |      Owner:
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  General          |    Version:
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 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
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42521>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list