Make WordPress Core


Ignore:
Timestamp:
11/18/2010 07:59:05 AM (14 years ago)
Author:
nacin
Message:

Third pass on internal linking preloading. Or, what I left out of the second pass commit. see #11420.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/post.php

    r16457 r16459  
    14841484        'paste_text_use_dialog' => true,
    14851485        'wpeditimage_disable_captions' => $no_captions,
    1486         'plugins' => implode($plugins, ',')
     1486        'plugins' => implode( ',', $plugins ),
    14871487    );
    14881488
     
    16101610    // Load additional inline scripts based on active plugins.
    16111611    if ( in_array( 'wpdialogs', $plugins ) ) {
    1612         wp_print_scripts( array('jquery-ui-dialog', 'wpdialogsPopup') );
     1612        wp_print_scripts( array( 'wpdialogs-popup' ) );
    16131613        wp_print_styles('wp-jquery-ui-dialog');
    16141614    }
    16151615    if ( in_array( 'wplink', $plugins ) ) {
    1616         require_once ABSPATH . WPINC . "/js/tinymce/wp-mce-link.php";
     1616        require_once ABSPATH . 'wp-admin/includes/internal-linking.php';
    16171617        add_action('tiny_mce_preload_dialogs', 'wp_link_dialog');
    16181618        wp_print_scripts('wplink');
Note: See TracChangeset for help on using the changeset viewer.