Ticket #20987: 20987.5.patch
File 20987.5.patch, 1.9 KB (added by , 12 years ago) |
---|
-
wp-admin/load-scripts.php
125 125 126 126 $compress = ( isset($_GET['c']) && $_GET['c'] ); 127 127 $force_gzip = ( $compress && 'gzip' == $_GET['c'] ); 128 $expires_offset = 31536000; 128 $expires_offset = 31536000; // 1 year 129 129 $out = ''; 130 130 131 131 $wp_scripts = new WP_Scripts(); -
wp-admin/load-styles.php
104 104 $compress = ( isset($_GET['c']) && $_GET['c'] ); 105 105 $force_gzip = ( $compress && 'gzip' == $_GET['c'] ); 106 106 $rtl = ( isset($_GET['dir']) && 'rtl' == $_GET['dir'] ); 107 $expires_offset = 31536000; 107 $expires_offset = 31536000; // 1 year 108 108 $out = ''; 109 109 110 110 $wp_styles = new WP_Styles(); -
wp-includes/default-constants.php
73 73 if ( !defined('SHORTINIT') ) 74 74 define('SHORTINIT', false); 75 75 76 // Constants for expressing human- intervalintervals76 // Constants for expressing human-readable intervals 77 77 // in their respective number of seconds. 78 78 define( 'MINUTE_IN_SECONDS', 60 ); 79 79 define( 'HOUR_IN_SECONDS', 60 * MINUTE_IN_SECONDS ); -
wp-includes/js/tinymce/wp-tinymce.php
19 19 return @file_get_contents($path); 20 20 } 21 21 22 $expires_offset = 31536000; 22 $expires_offset = 31536000; // 1 year 23 23 24 24 header('Content-Type: application/x-javascript; charset=UTF-8'); 25 25 header('Vary: Accept-Encoding'); // Handle proxies