WordPress.org

Plugin Directory

Changeset 573033


Ignore:
Timestamp:
07/16/12 12:59:13 (21 months ago)
Author:
donncha
Message:

Added support for LOGGED_IN_COOKIE constant, props Askapache

File:
1 edited

Legend:

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

    r571334 r573033  
    630630 
    631631    $cookie_keys = array( 'wordpress_logged_in', 'comment_author_' ); 
     632    if ( defined( 'LOGGED_IN_COOKIE' ) ) 
     633        $cookie_keys[] = constant( 'LOGGED_IN_COOKIE' ); 
    632634    reset( $_COOKIE ); 
    633635    foreach( $_COOKIE as $cookie => $val ) { 
Note: See TracChangeset for help on using the changeset viewer.