Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #31909, comment 5


Ignore:
Timestamp:
08/28/2015 04:06:34 AM (10 years ago)
Author:
prionkor
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31909, comment 5

    initial v1  
    33>
    44
    5 Yes, so far its the best idea and I usually implement it this way. instead of creating new key for `required` lets just have an `attr` key or `attribute` key which accepts and array of key value pairs which later because the select element attributes.
     5Yes, so far its the best idea and I usually implement it this way. instead of creating new key for `required` lets just have an `attrs` key or `attributes` key which accepts and array of key value pairs which later become the select element attributes.
    66
    77This idea can also be used on other select function throughout WP core.