Make WordPress Core


Ignore:
Timestamp:
03/30/2012 02:39:05 PM (10 years ago)
Author:
nacin
Message:

Clear theme cache after editing. Reduce default cache persistence to 1800. (Could go lower.) see #20331.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/theme.php

    r20312 r20328  
    352352        }
    353353        if ( ! is_int( $cache_expiration ) )
    354             $cache_expiration = 7200;
     354            $cache_expiration = 1800; // half hour
    355355    } else {
    356         // Two hours is the default.
    357         $cache_expiration = 7200;
     356        $cache_expiration = 1800; // half hour
    358357    }
    359358
Note: See TracChangeset for help on using the changeset viewer.