Make WordPress Core


Ignore:
Timestamp:
11/18/2010 07:59:05 AM (16 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-includes/script-loader.php

    r16457 r16459  
    269269                'noShortlink' => __( 'No shortlink available for this page.' ),
    270270        ) );
    271        
     271
    272272        $scripts->add( 'wplink', "/wp-includes/js/tinymce/plugins/wplink/js/wplink$suffix.js", array('jquery'), '20101117' );
    273273        $scripts->localize( 'wplink', 'wpLinkL10n', array(
    … …  
    275275                'noMatchesFound' => __('No matches found.'),
    276276        ) );
    277        
    278         $scripts->add( 'wpdialogsPopup', "/wp-includes/js/tinymce/plugins/wpdialogs/js/popup$suffix.js", false, '20101117' );
     277
     278        $scripts->add( 'wpdialogs-popup', "/wp-includes/js/tinymce/plugins/wpdialogs/js/popup$suffix.js", array( 'jquery-ui-dialog' ), '20101117' );
    279279
    280280        if ( is_admin() ) {
    … …  
    485485
    486486        // all colors stylesheets need to have the same query strings (cache manifest compat)
    487         $colors_version = '20101117';
     487        $colors_version = '20101117b';
    488488
    489489        // Register "meta" stylesheet for admin colors. All colors-* style sheets should have the same version string.
    … …  
    510510        $styles->add( 'imgareaselect', '/wp-includes/js/imgareaselect/imgareaselect.css', array(), '0.9.1' );
    511511        $styles->add( 'nav-menu', "/wp-admin/css/nav-menu$suffix.css", array(), '20100907' );
    512 
    513         // Admin bar
    514512        $styles->add( 'admin-bar', "/wp-includes/css/admin-bar$suffix.css", array(), '20101117' );
    515        
    516         // WP jQuery UI Dialog
    517513        $styles->add( 'wp-jquery-ui-dialog', "/wp-includes/css/jquery-ui-dialog$suffix.css", array(), '20101117' );
    518         // WPLink TinyMCE plugin
    519514        $styles->add( 'wplink', "/wp-includes/js/tinymce/plugins/wplink/css/wplink$suffix.css", array(), '20101117' );
    520515
Note: See TracChangeset for help on using the changeset viewer.