Make WordPress Core


Ignore:
Timestamp:
07/01/2009 08:12:39 AM (15 years ago)
Author:
azaozz
Message:

Use new jQuery methods when adding, editing and deleting tags with AJAX, fix warning when deleting tags, see #10239

File:
1 edited

Legend:

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

    r11674 r11676  
    6161    $scripts->add( 'utils', "/wp-admin/js/utils$suffix.js", false, '20090102' );
    6262
    63     $scripts->add( 'common', "/wp-admin/js/common$suffix.js", array('jquery', 'hoverIntent', 'utils'), '20090609' );
     63    $scripts->add( 'common', "/wp-admin/js/common$suffix.js", array('jquery', 'hoverIntent', 'utils'), '20090623' );
    6464    $scripts->add_data( 'common', 'group', 1 );
    6565    $scripts->localize( 'common', 'commonL10n', array(
     
    217217        ) );
    218218
    219         $scripts->add( 'admin-categories', "/wp-admin/js/categories$suffix.js", array('wp-lists'), '20090207' );
     219        $scripts->add( 'admin-categories', "/wp-admin/js/categories$suffix.js", array('wp-lists'), '20090623' );
    220220        $scripts->add_data( 'admin-categories', 'group', 1 );
    221221
    222         $scripts->add( 'admin-tags', "/wp-admin/js/tags$suffix.js", array('wp-lists'), '20090211' );
     222        $scripts->add( 'admin-tags', "/wp-admin/js/tags$suffix.js", array('jquery'), '20090623' );
    223223        $scripts->add_data( 'admin-tags', 'group', 1 );
     224        $scripts->localize( 'admin-tags', 'tagsl10n', array(
     225            'noPerm' => __('You do not have permission to do that.'),
     226            'broken' => __('An unidentified error has occurred.'),
     227            'l10n_print_after' => 'try{convertEntities(tagsl10n);}catch(e){};'
     228        ));
    224229
    225230        $scripts->add( 'admin-custom-fields', "/wp-admin/js/custom-fields$suffix.js", array('wp-lists'), '20090106' );
     
    362367        ) );
    363368
    364         $scripts->add( 'inline-edit-tax', "/wp-admin/js/inline-edit-tax$suffix.js", array( 'jquery-form' ), '20090211' );
     369        $scripts->add( 'inline-edit-tax', "/wp-admin/js/inline-edit-tax$suffix.js", array( 'jquery' ), '20090623' );
    365370        $scripts->add_data( 'inline-edit-tax', 'group', 1 );
    366371        $scripts->localize( 'inline-edit-tax', 'inlineEditL10n', array(
Note: See TracChangeset for help on using the changeset viewer.