Make WordPress Core


Ignore:
Timestamp:
05/18/2009 08:29:26 PM (17 years ago)
Author:
azaozz
Message:

Clean the cache-manifests, make $manifest_version and $tinymce_version global vars accessible from the manifest

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/cache-manifest.php

    r11076 r11388  
    1616/** Set ABSPATH for execution */
    1717define( 'ABSPATH', dirname(dirname(__FILE__)) . '/' );
    18 define( 'WPINC', 'wp-includes' );
    1918
    2019require(ABSPATH . '/wp-admin/includes/manifest.php');
    2120
    22 $man_version = '';
    23 
    24 $files = get_manifest($man_version);
    25 
    26 $man_version = md5($man_version);
     21$files = get_manifest();
    2722
    2823header( 'Expires: Wed, 11 Jan 1984 05:00:00 GMT' );
    … …  
    3227header( 'Content-Type: text/cache-manifest; charset=UTF-8' );
    3328?>
    34 CACHE MANIFEST 
    35 # 
    36 # Version: <?php echo $man_version; ?>_20080710
    37 # 
     29CACHE MANIFEST
     30#
     31# Version: <?php echo $man_version; ?>
     32#
    3833<?php
    3934foreach ( $files as $file ) {
    … …  
    4338        // If ver is set but ignoreQuery is not, output file with ver tacked on
    4439        else
    45                 echo $file[0] . '?ver=' . $file[1] . "\n";
     40                echo $file[0] . '?' . $file[1] . "\n";
    4641}
    4742
Note: See TracChangeset for help on using the changeset viewer.