[wp-trac] [WordPress Trac] #25668: selected, checked functions

WordPress Trac noreply at wordpress.org
Wed Oct 23 19:55:10 UTC 2013


#25668: selected, checked functions
-------------------------------------+------------------------------
 Reporter:  ciapci                   |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  General                  |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  reporter-feedback close  |
-------------------------------------+------------------------------

Comment (by ciapci):

 Replying to [comment:13 markoheijnen]:
 > Then your code is wrong. You can also see it as a feature ;)

 my code is wrong because I need it as a variable? I'm working inside a
 string. I need it to echo because it's supposed to be something like
 $output .='string'.checked('aaa','aaa',true).'string'; I get an extra
 checked='checked'.
 Why is my code wrong?

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


More information about the wp-trac mailing list