[wp-trac] Re: [WordPress Trac] #3224: wp-admin/upload-js.php
uninternationalized
WordPress Trac
wp-trac at lists.automattic.com
Thu Oct 12 10:20:38 GMT 2006
#3224: wp-admin/upload-js.php uninternationalized
-----------------------------------+----------------------------------------
Reporter: nbachiyski | Owner: markjaquith
Type: defect | Status: assigned
Priority: low | Milestone: 2.1
Component: Administration | Version: 2.1
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion |
-----------------------------------+----------------------------------------
Changes (by markjaquith):
* keywords: has-patch => has-patch 2nd-opinion
* status: new => assigned
* owner: anonymous => markjaquith
Comment:
Is {{{addslashes()}}} the right thing to be using? Seems to me that
single quotes need to be HTML entitized for HTML validation, and double
quotes need to be HTML entitized for JS validation. Wouldn't
{{{wp_specialchars($string, true)}}} be the way to go here?
--
Ticket URL: <http://trac.wordpress.org/ticket/3224#comment:2>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list