Make WordPress Core

Changeset 22531


Ignore:
Timestamp:
11/10/2012 06:13:09 PM (13 years ago)
Author:
nacin
Message:

Add comments to time intervals we cannot express with the constants. Fix a comment. props SergeyBiryukov. fixes #20987.

Location:
trunk
Files:
4 edited

Legend:

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

    r21997 r22531  
    126126$compress = ( isset($_GET['c']) && $_GET['c'] );
    127127$force_gzip = ( $compress && 'gzip' == $_GET['c'] );
    128 $expires_offset = 31536000;
     128$expires_offset = 31536000; // 1 year
    129129$out = '';
    130130
  • trunk/wp-admin/load-styles.php

    r21997 r22531  
    105105$force_gzip = ( $compress && 'gzip' == $_GET['c'] );
    106106$rtl = ( isset($_GET['dir']) && 'rtl' == $_GET['dir'] );
    107 $expires_offset = 31536000;
     107$expires_offset = 31536000; // 1 year
    108108$out = '';
    109109
  • trunk/wp-includes/default-constants.php

    r22054 r22531  
    7474        define('SHORTINIT', false);
    7575
    76     // Constants for expressing human-interval intervals
     76    // Constants for expressing human-readable intervals
    7777    // in their respective number of seconds.
    7878    define( 'MINUTE_IN_SECONDS', 60 );
  • trunk/wp-includes/js/tinymce/wp-tinymce.php

    r21997 r22531  
    2020}
    2121
    22 $expires_offset = 31536000;
     22$expires_offset = 31536000; // 1 year
    2323
    2424header('Content-Type: application/x-javascript; charset=UTF-8');
Note: See TracChangeset for help on using the changeset viewer.