[wp-trac] [WordPress Trac] #12581: Add disabled() form helper

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 11 13:43:39 UTC 2010


#12581: Add disabled() form helper
-------------------------+--------------------------------------------------
 Reporter:  nacin        |       Owner:     
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.0
Component:  Formatting   |     Version:     
 Severity:  normal       |    Keywords:     
-------------------------+--------------------------------------------------

Comment(by scribu):

 Replying to [ticket:12581 nacin]:
 > We should add disabled() as a form helper to echo {{{'
 disabled="disabled"'}}}.

 +1

 > We should also consider moving selected(), checked(), and disabled()
 (and the helper function) into wp-includes/general-template.php, out of
 wp-admin/includes/template.php, as a plugin author may find use for them
 outside of wp-admin.

 +1.5 :)

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


More information about the wp-trac mailing list