[wp-trac] [WordPress Trac] #31909: wp_dropdown_categories() select field cannot accept HTML 'required'

WordPress Trac noreply at wordpress.org
Thu May 19 02:38:35 UTC 2016


#31909: wp_dropdown_categories() select field cannot accept HTML 'required'
----------------------------------------+---------------------------
 Reporter:  wzislam                     |       Owner:  boonebgorges
     Type:  enhancement                 |      Status:  closed
 Priority:  normal                      |   Milestone:  4.6
Component:  Taxonomy                    |     Version:  4.1.1
 Severity:  normal                      |  Resolution:  fixed
 Keywords:  needs-patch good-first-bug  |     Focuses:  template
----------------------------------------+---------------------------
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"37465"]:
 {{{
 #!CommitTicketReference repository="" revision="37465"
 Introduce `required` argument for `wp_dropdown_categories()`.

 This allows the HTML5 `required` attribute to be added to the `select`
 element.

 Props wzislam, pcarvalho.
 Fixes #31909.
 }}}

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


More information about the wp-trac mailing list