WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/25/2012 07:05:48 AM (6 years ago)
Author:
nacin
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/load-styles.php

    r21996 r21997  
    105105$force_gzip = ( $compress && 'gzip' == $_GET['c'] );
    106106$rtl = ( isset($_GET['dir']) && 'rtl' == $_GET['dir'] );
    107 $expires_offset = YEAR_IN_SECONDS;
     107$expires_offset = 31536000;
    108108$out = '';
    109109
Note: See TracChangeset for help on using the changeset viewer.