WordPress.org

Plugin Directory

Changeset 793644


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

Avoid a PHP warning if $base is not set. Ref: http://wordpress.org/support/topic/just-a-few-notices-non-critical?replies=1

File:
1 edited

Legend:

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

    r561011 r793644  
    2020        $blogcacheid = $WPSC_HTTP_HOST; 
    2121    } else { 
     22        if ( isset( $base ) == false ) 
     23            $base = ''; 
    2224        $request_uri = preg_replace('/[ <>\'\"\r\n\t\(\)]/', '', str_replace( '..', '', $_SERVER['REQUEST_URI'] ) ); 
    2325        if( strpos( $request_uri, '/', 1 ) ) { 
Note: See TracChangeset for help on using the changeset viewer.