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

WordPress Trac noreply at wordpress.org
Wed Oct 23 19:56:03 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 toscho):

 Replying to [comment:12 ciapci]:

 > I used this code: http://d.pr/i/MMnc and I'm getting this:
 http://d.pr/i/HaYl.
 >
 > It only shows once if I remove the true and the echo. But I need to set
 the result as a variable.

 Then set the last parameter to `false`. Your code is wrong, not
 `checked()`.

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


More information about the wp-trac mailing list