[wp-trac] [WordPress Trac] #10111: output of function checked resp.
__checked_selected_helper has single quotation marks which can
produce JS error
WordPress Trac
wp-trac at lists.automattic.com
Thu Jun 11 18:55:09 GMT 2009
#10111: output of function checked resp. __checked_selected_helper has single
quotation marks which can produce JS error
----------------------------+-----------------------------------------------
Reporter: ntm | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.8.1
Component: Administration | Version: 2.8
Severity: normal | Keywords: checked, quotation marks
----------------------------+-----------------------------------------------
the function checked until WP 2.7 returns checked="checked" (with double
quotation marks) and now with single quotation marks.
If this new behavior is intentionally then I want to suggest to give the
opportunity for passing another parameter to this function which specifies
the type of the quotation marks.
or
write simply $result = ' '.$type.'="'.$type.'"'; instead of $result = "
$type='$type'"; now.
in file /wp-admin/includes/template.php (line 419) of WP 2.8
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10111>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list