Make WordPress Core


Ignore:
Timestamp:
05/31/2010 06:33:46 AM (15 years ago)
Author:
markjaquith
Message:

Add ?ver=DATE query strings to all images that changed since 2.9, to expire browser cache. Bump versions on all CSS/JS files modified in that process. fixes #13562.

File:
1 edited

Legend:

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

    r15063 r15072  
    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'), '20100506' );
     63    $scripts->add( 'common', "/wp-admin/js/common$suffix.js", array('jquery', 'hoverIntent', 'utils'), '20100531' );
    6464    $scripts->add_data( 'common', 'group', 1 );
    6565    $scripts->localize( 'common', 'commonL10n', array(
     
    434434    $no_suffix = array( 'farbtastic' );
    435435
    436     $styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20100528' );
    437 
    438     $styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20100527' );
     436    $styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20100531' );
     437
     438    $styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20100531' );
    439439    $styles->add_data( 'ie', 'conditional', 'lte IE 7' );
    440440
    441441    // all colors stylesheets need to have the same query strings (cache manifest compat)
    442     $colors_version = '20100527';
     442    $colors_version = '20100531';
    443443
    444444    // Register "meta" stylesheet for admin colors. All colors-* style sheets should have the same version string.
     
    454454    $styles->add( 'global', "/wp-admin/css/global$suffix.css", array(), '20100108' );
    455455    $styles->add( 'media', "/wp-admin/css/media$suffix.css", array(), '20100519' );
    456     $styles->add( 'widgets', "/wp-admin/css/widgets$suffix.css", array(), '20091118' );
     456    $styles->add( 'widgets', "/wp-admin/css/widgets$suffix.css", array(), '20100531' );
    457457    $styles->add( 'dashboard', "/wp-admin/css/dashboard$suffix.css", array(), '20100424' );
    458458    $styles->add( 'install', "/wp-admin/css/install$suffix.css", array(), '20100313' ); // Readme as well
     
    460460    $styles->add( 'press-this', "/wp-admin/css/press-this$suffix.css", array(), '20100424' );
    461461    $styles->add( 'thickbox', '/wp-includes/js/thickbox/thickbox.css', array(), '20090514' );
    462     $styles->add( 'login', "/wp-admin/css/login$suffix.css", array(), '20100403' );
     462    $styles->add( 'login', "/wp-admin/css/login$suffix.css", array(), '20100531' );
    463463    $styles->add( 'plugin-install', "/wp-admin/css/plugin-install$suffix.css", array(), '20100402' );
    464464    $styles->add( 'theme-install', "/wp-admin/css/theme-install$suffix.css", array(), '20100523' );
     
    466466    $styles->add( 'jcrop', '/wp-includes/js/jcrop/jquery.Jcrop.css', array(), '0.9.8' );
    467467    $styles->add( 'imgareaselect', '/wp-includes/js/imgareaselect/imgareaselect.css', array(), '0.9.1' );
    468     $styles->add( 'nav-menu', "/wp-admin/css/nav-menu$suffix.css", array(), '20100529b' );
     468    $styles->add( 'nav-menu', "/wp-admin/css/nav-menu$suffix.css", array(), '20100531' );
    469469
    470470    foreach ( $rtl_styles as $rtl_style ) {
Note: See TracChangeset for help on using the changeset viewer.