Do not use time constants in files the WP bootstrap is not or may not be loaded. see #20987.

git-svn-id: https://develop.svn.wordpress.org/trunk@21997 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2012-09-25 07:05:48 +00:00
parent 774a12be83
commit 14592e8dd1
3 changed files with 3 additions and 3 deletions

View File

@@ -125,7 +125,7 @@ require(ABSPATH . WPINC . '/version.php');
$compress = ( isset($_GET['c']) && $_GET['c'] );
$force_gzip = ( $compress && 'gzip' == $_GET['c'] );
$expires_offset = YEAR_IN_SECONDS;
$expires_offset = 31536000;
$out = '';
$wp_scripts = new WP_Scripts();