[wp-trac] Re: [WordPress Trac] #3224: wp-admin/upload-js.php
uninternationalized
WordPress Trac
wp-trac at lists.automattic.com
Tue Dec 5 22:19:54 GMT 2006
#3224: wp-admin/upload-js.php uninternationalized
-----------------------------------+----------------------------------------
Reporter: nbachiyski | Owner: markjaquith
Type: defect | Status: reopened
Priority: low | Milestone: 2.1
Component: Administration | Version: 2.1
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion |
-----------------------------------+----------------------------------------
Changes (by mdawaffe):
* status: closed => reopened
* resolution: fixed =>
Comment:
markaquith, it's more annoying than that. Sometiems JS interprets "
as a real quote mark. It get's a little confusing.
js_escape() was born out of compromise, but it ''is'' asymmetric in single
v. double quotes, so you ''still'' need to be careful. You definitely
need to use js_escape() when there's a chance of {{{\n}}} appearing in the
string.
Attached fixes some problems.
--
Ticket URL: <http://trac.wordpress.org/ticket/3224#comment:6>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list