Make WordPress Core


Ignore:
Timestamp:
04/23/2011 02:12:56 AM (13 years ago)
Author:
azaozz
Message:

Use wpLink in the HTML editor too, props koopersmith, fixes #16631

File:
1 edited

Legend:

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

    r17680 r17687  
    268268    $scripts->add_data( 'admin-bar', 'group', 1 );
    269269
    270     $scripts->add( 'wplink', "/wp-includes/js/tinymce/plugins/wplink/js/wplink$suffix.js", array('jquery'), '20110111' );
     270    $scripts->add( 'wplink', "/wp-includes/js/tinymce/plugins/wplink/js/wplink$suffix.js", array( 'jquery', 'wpdialogs' ), '20110421' );
     271    $scripts->add_data( 'wplink', 'group', 1 );
    271272    $scripts->localize( 'wplink', 'wpLinkL10n', array(
     273        'title' => __('Insert/edit link'),
    272274        'update' => __('Update'),
    273275        'save' => __('Add Link'),
     
    277279    ) );
    278280
    279     $scripts->add( 'wpdialogs-popup', "/wp-includes/js/tinymce/plugins/wpdialogs/js/popup$suffix.js", array( 'jquery-ui-dialog' ), '20101119' );
     281    $scripts->add( 'wpdialogs', "/wp-includes/js/tinymce/plugins/wpdialogs/js/wpdialog$suffix.js", array( 'jquery-ui-dialog' ), '20110421' );
     282    $scripts->add_data( 'wpdialogs', 'group', 1 );
     283
     284    $scripts->add( 'wpdialogs-popup', "/wp-includes/js/tinymce/plugins/wpdialogs/js/popup$suffix.js", array( 'wpdialogs' ), '20110421' );
     285    $scripts->add_data( 'wpdialogs-popup', 'group', 1 );
    280286
    281287    if ( is_admin() ) {
Note: See TracChangeset for help on using the changeset viewer.