Stop localizing the admin bar. props ocean90, fixes #16155.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
96736834de
commit
692a2c0ed2
|
@ -264,9 +264,6 @@ function wp_default_scripts( &$scripts ) {
|
|||
|
||||
$scripts->add( 'admin-bar', "/wp-includes/js/admin-bar$suffix.js", false, '20110112a' );
|
||||
$scripts->add_data( 'admin-bar', 'group', 1 );
|
||||
$scripts->localize( 'admin-bar', 'adminBarL10n', array(
|
||||
'l10n_print_after' => 'try{convertEntities(adminBarL10n);}catch(e){};',
|
||||
) );
|
||||
|
||||
$scripts->add( 'wplink', "/wp-includes/js/tinymce/plugins/wplink/js/wplink$suffix.js", array('jquery'), '20110111' );
|
||||
$scripts->localize( 'wplink', 'wpLinkL10n', array(
|
||||
|
|
Loading…
Reference in New Issue