[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 19:31:46 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 |
-----------------------------------+------------------------------
Comment (by scribu):
This doesn't seem more readable to me:
{{{<input type="text" <?php valued( $possible_num, true, '4 digit number'
); ?>>}}}
I have no idea what the second and third parameters do, unless I look up
the definition for the valued() function.
The {{{placeholder}}} attribute has no place in the valued() function.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20110#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list