[wp-trac] [WordPress Trac] #24972: wp_dropdown_roles() multiple pre-selected options

WordPress Trac noreply at wordpress.org
Sun Feb 2 15:31:41 UTC 2014


#24972: wp_dropdown_roles() multiple pre-selected options
-------------------------+------------------------------
 Reporter:  PauloASilva  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Users        |     Version:  3.6
 Severity:  trivial      |  Resolution:
 Keywords:               |     Focuses:  template
-------------------------+------------------------------

Comment (by PauloASilva):

 Hi nacin,
 wp_dropdown_roles() does not output the <select> part so it has not to
 deal with it, nevertheless I kept the original behavior.

 About the use case, I did suggest this patch when patching a plugin to
 allow a business rule to be applied to more than one user role.
 Because wp_dropdown_roles() is a core function and WP has many user roles,
 it makes sense to allow multiple items selection.

 If you need some other use cases, let me know the best way to provide you
 them.

 Best regards,
 Paulo A. Silva

--
Ticket URL: <https://core.trac.wordpress.org/ticket/24972#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list