﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
20110,Add a valued() function to encourage consistency in input fields,jeremyfelt,,"A valued() function would fit well with the helper functions selected() and checked().

Makes it easier to add a value if it exists, and to escape the value with esc_attr().

Makes it easier to provide a placeholder text.

Use would be:

{{{
<input type=""text"" <?php valued( $possible_num, true, '4 digit number' ); ?>>
}}}

Which would result in:

{{{
<input type=""text"" value=""1234"" placeholder=""4 digit number"">
}}}
Or
{{{
<input type=""text"" placeholder=""4 digit number"">
}}}
(Depending on the original value of $possible_num)
",enhancement,closed,normal,,Template,,normal,wontfix,close,
