[wp-trac] [WordPress Trac] #13468: wp_dropdown_users() selected parameter doesn't respect show_option_none

WordPress Trac wp-trac at lists.automattic.com
Thu May 20 21:09:53 UTC 2010


#13468: wp_dropdown_users() selected parameter doesn't respect show_option_none
----------------------------+-----------------------------------------------
 Reporter:  johnbillion     |       Owner:     
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  3.0
Component:  Administration  |     Version:  3.0
 Severity:  minor           |    Keywords:     
----------------------------+-----------------------------------------------
 In `wp_dropdown_users()` you can pass a string as the `show_option_none`
 parameter and an option will be added with that string and a value of
 '-1'. If you pass '-1' as the `selected` parameter however, this option
 will not be selected as the relevant check is missing from the function.

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


More information about the wp-trac mailing list