WordPress.org

Plugin Directory

Changeset 793645


Ignore:
Timestamp:
10/25/13 14:37:07 (6 months ago)
Author:
donncha
Message:

Define $disable_supercache_htaccess_warning if not set to avoid PHP warnings, ref: http://wordpress.org/support/topic/just-a-few-notices-non-critical?replies=1, props @mattV

File:
1 edited

Legend:

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

    r793478 r793645  
    369369        $dismiss_htaccess_warning = 0; 
    370370    } 
     371    if ( isset( $disable_supercache_htaccess_warning ) == false ) 
     372        $disable_supercache_htaccess_warning = false; 
    371373    if ( $dismiss_htaccess_warning == 0 && $wp_cache_mod_rewrite && $super_cache_enabled && $disable_supercache_htaccess_warning == false && get_option( 'siteurl' ) != get_option( 'home' ) ) { 
    372374        $home_dir = str_replace( get_option( 'home' ), '', get_option( 'siteurl' ) ); 
Note: See TracChangeset for help on using the changeset viewer.