Stop localizing the admin bar. props ocean90, fixes #16155.
git-svn-id: https://develop.svn.wordpress.org/trunk@17313 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9d3c8eb6f8
commit
bda519ae53
@ -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
Block a user