Skip to:
Content

bbPress.org

Changeset 2106


Ignore:
Timestamp:
05/29/2009 12:18:03 AM (17 years ago)
Author:
sambauers
Message:

Clear pre-existing (usually WordPress) cache. Fixes many boogs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bb-settings.php

    r2083 r2106  
    269269
    270270// Instantiate the $wp_object_cache object using wp_cache_init()
    271 if ( !isset( $wp_object_cache ) && function_exists( 'wp_cache_init' ) ) {
     271if ( function_exists( 'wp_cache_init' ) ) {
     272    // Clear WordPress cache if it exists already - maybe should save and re-load?
     273    unset( $wp_object_cache );
    272274    wp_cache_init();
    273275    if ( function_exists('wp_cache_add_global_groups') ) {
Note: See TracChangeset for help on using the changeset viewer.