Make WordPress Core


Ignore:
Timestamp:
11/18/2010 06:22:13 AM (11 years ago)
Author:
nacin
Message:

Ludicrous speed for internal linking. First pass. props koopersmith, see #11420.

File:
1 edited

Legend:

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

    r16451 r16457  
    269269        'noShortlink' => __( 'No shortlink available for this page.' ),
    270270    ) );
     271   
     272    $scripts->add( 'wplink', "/wp-includes/js/tinymce/plugins/wplink/js/wplink$suffix.js", array('jquery'), '20101117' );
     273    $scripts->localize( 'wplink', 'wpLinkL10n', array(
     274        'untitled' => __('Untitled'),
     275        'noMatchesFound' => __('No matches found.'),
     276    ) );
     277   
     278    $scripts->add( 'wpdialogsPopup', "/wp-includes/js/tinymce/plugins/wpdialogs/js/popup$suffix.js", false, '20101117' );
    271279
    272280    if ( is_admin() ) {
     
    505513    // Admin bar
    506514    $styles->add( 'admin-bar', "/wp-includes/css/admin-bar$suffix.css", array(), '20101117' );
     515   
     516    // WP jQuery UI Dialog
     517    $styles->add( 'wp-jquery-ui-dialog', "/wp-includes/css/jquery-ui-dialog$suffix.css", array(), '20101117' );
     518    // WPLink TinyMCE plugin
     519    $styles->add( 'wplink', "/wp-includes/js/tinymce/plugins/wplink/css/wplink$suffix.css", array(), '20101117' );
    507520
    508521    foreach ( $rtl_styles as $rtl_style ) {
Note: See TracChangeset for help on using the changeset viewer.