[wp-trac] [WordPress Trac] #8700: "selected" argument doesn't work for "none" and "all" options in wp_dropdown_categories

WordPress Trac wp-trac at lists.automattic.com
Mon Dec 22 21:14:46 GMT 2008


#8700: "selected" argument doesn't work for "none" and "all" options in
wp_dropdown_categories
--------------------------+-------------------------------------------------
 Reporter:  filosofo      |       Owner:  anonymous                                         
     Type:  defect (bug)  |      Status:  new                                               
 Priority:  normal        |   Milestone:  2.7.1                                             
Component:  Template      |     Version:  2.7                                               
 Severity:  normal        |    Keywords:  has-patch wp_dropdown_categories selected category
--------------------------+-------------------------------------------------
 You can pass a value as the "selected" category for the
 {{{wp_dropdown_categories()}}} dropdown, but it is ignored for the "none"
 and "all" values (0 and -1, respectively).

 Patch fixes this.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8700>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list