[wp-trac] [WordPress Trac] #9032: Two minor enhancements to checked() and selected()

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 3 17:37:58 GMT 2009


#9032: Two minor enhancements to checked() and selected()
-------------------------+--------------------------------------------------
 Reporter:  johnbillion  |       Owner:  johnbillion
     Type:  enhancement  |      Status:  new        
 Priority:  low          |   Milestone:  2.8        
Component:  Template     |     Version:  2.7        
 Severity:  trivial      |    Keywords:             
-------------------------+--------------------------------------------------
 The helper functions `checked()` and `selected()` compare two passed
 parameters and echo out their respective markup based on the result of the
 comparison.

 Two improvements would be to give the second parameter a default value of
 true and to add an `echo` parameter, also with default value of true.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/9032>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list