[wp-trac] [WordPress Trac] #10556: Add a checked_array() to compare arrays like checked()

WordPress Trac wp-trac at lists.automattic.com
Mon Dec 28 06:05:09 UTC 2009


#10556: Add a checked_array() to compare arrays like checked()
-------------------------+--------------------------------------------------
 Reporter:  sudar        |       Owner:  westi   
     Type:  enhancement  |      Status:  accepted
 Priority:  normal       |   Milestone:  3.0     
Component:  Template     |     Version:          
 Severity:  normal       |    Keywords:          
-------------------------+--------------------------------------------------

Comment(by hakre):

 Updated the template patch according to the principles in the plugin.
 Original code had repeated parts I was able to remove. There is no need
 for an additional function, checked() and selected() accepted already
 arrays based on their definition (they converted them to strings which
 does not make sense).

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10556#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list