WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #20810, comment 1


Ignore:
Timestamp:
08/17/2012 01:31:09 PM (9 years ago)
Author:
prionkor
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20810, comment 1

    initial v1  
    11+1 we need it on all dropdown functions.
     2
     3An array of attribute could be passed. Like:
     4
     5$args = array(
     6               'attrs' = array(
     7                                'multiple' => 'multiple',
     8                                'disable' => 'disabled'
     9                        )
     10         )
     11
     12It will allow users to add extra attribute like classes or any other html 5 attributes on the dropdown.