WordPress.org

Plugin Directory

Changeset 750280


Ignore:
Timestamp:
08/02/13 21:07:15 (9 months ago)
Author:
donncha
Message:

Added check for constant "WPSC_DISABLE_HTACCESS_UPDATE" to disable updating the .htaccess rules. Ref: http://wordpress.org/support/topic/cache-control-max-age3-must-revalidate?replies=1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-super-cache/trunk/wp-cache.php

    r704152 r750280  
    12751275    global $cache_enabled, $super_cache_enabled, $valid_nonce, $cache_path, $wp_cache_mod_rewrite, $wpmu_version; 
    12761276 
     1277    if ( defined( 'WPSC_DISABLE_HTACCESS_UPDATE' ) ) 
     1278        return false; 
     1279 
    12771280    if ( !$wp_cache_mod_rewrite ) 
    12781281        return false; 
Note: See TracChangeset for help on using the changeset viewer.