[wp-trac] [WordPress Trac] #20110: Add a valued() function to encourage consistency in input fields

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 24 10:37:16 UTC 2012


#20110: Add a valued() function to encourage consistency in input fields
-----------------------------------+------------------------------
 Reporter:  jeremyfelt             |       Owner:
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  Template               |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |
-----------------------------------+------------------------------
Changes (by scribu):

 * keywords:  has-patch => has-patch 2nd-opinion


Comment:

 I don't really see the benefit. Unlike `checked` and `selected`, writing
 {{{value=""}}} has no adverse effects, so there's no {{{if}}} statement
 necessary.

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


More information about the wp-trac mailing list