[wp-trac] [WordPress Trac] #9862: checked/selected helper confuses '0' and ''

WordPress Trac wp-trac at lists.automattic.com
Thu Jul 9 21:16:22 UTC 2009


#9862: checked/selected helper confuses '0' and ''
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |        Owner:  westi 
     Type:  defect (bug)       |       Status:  closed
 Priority:  low                |    Milestone:  2.9   
Component:  Administration     |      Version:  2.8   
 Severity:  normal             |   Resolution:  fixed 
 Keywords:  has-patch commit   |  
-------------------------------+--------------------------------------------

Comment(by westi):

 BTW - Added Unit Tests for these common call types -
 http://svn.automattic.com/wordpress-tests/wp-
 testcase/test_admin_includes_template.php

 The test cases work without the (string) casts but as the testing was done
 with them I left them in.

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


More information about the wp-trac mailing list