WordPress.org

Plugin Directory

Changeset 573037


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

Move call to wp_supercache_cache_for_admins() down after loading supercache plugins. Props rapidstrider, http://wordpress.org/support/topic/plugin-wp-super-cache-wp_supercache_remove_cookies-not-working

File:
1 edited

Legend:

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

    r573033 r573037  
    3232    define( 'DONOTCACHEPAGE', 1 ); 
    3333} 
    34 if ( isset( $wp_cache_make_known_anon ) && $wp_cache_make_known_anon ) 
    35     wp_supercache_cache_for_admins(); 
    3634 
    3735$plugins = glob( $wp_cache_plugins_dir . '/*.php' ); 
     
    4240    } 
    4341} 
     42 
     43if ( isset( $wp_cache_make_known_anon ) && $wp_cache_make_known_anon ) 
     44    wp_supercache_cache_for_admins(); 
    4445 
    4546do_cacheaction( 'cache_init' ); 
Note: See TracChangeset for help on using the changeset viewer.