WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/15/2011 09:13:49 PM (11 years ago)
Author:
nacin
Message:

Stop localizing the admin bar. props ocean90, fixes #16155.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/script-loader.php

    r17304 r17313  
    265265    $scripts->add( 'admin-bar', "/wp-includes/js/admin-bar$suffix.js", false, '20110112a' );
    266266    $scripts->add_data( 'admin-bar', 'group', 1 );
    267     $scripts->localize( 'admin-bar', 'adminBarL10n', array(
    268         'l10n_print_after' => 'try{convertEntities(adminBarL10n);}catch(e){};',
    269     ) );
    270267
    271268    $scripts->add( 'wplink', "/wp-includes/js/tinymce/plugins/wplink/js/wplink$suffix.js", array('jquery'), '20110111' );
Note: See TracChangeset for help on using the changeset viewer.