[wp-trac] [WordPress Trac] #15124: Script concatentation breaks l10n of javascript output in head
WordPress Trac
wp-trac at lists.automattic.com
Tue Nov 23 17:00:58 UTC 2010
#15124: Script concatentation breaks l10n of javascript output in head
-----------------------------------------------------------------+----------
Reporter: macbrink | Owner: westi
Type: defect (bug) | Status: reopened
Priority: high | Milestone: 3.1
Component: JavaScript | Version: 3.0.1
Severity: major | Resolution:
Keywords: convertentities, i18n, has-patch, needs-improvement |
-----------------------------------------------------------------+----------
Comment(by ocean90):
azizur:
The reason is, that it's needed by the admin bar, see:
{{{
$scripts->localize( 'admin-bar', 'adminBarL10n', array(
'url' => __( 'URL:' ),
'noShortlink' => __( 'No shortlink available for this
page.' ),
'l10n_print_after' =>
'try{convertEntities(adminBarL10n);}catch(e){};',
) );
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15124#comment:17>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list