Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/19/2015 05:37:35 AM (11 years ago)
Author:
boonebgorges
Message:

Use a non-global cache group for bp-pages.

Using a global cache group for bp-pages breaks BP_ENABLE_MULTIBLOG
installations.

Props wpdennis.
Fixes #6717.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-functions.php

    r10356 r10365  
    544544
    545545        // Look in cache first.
    546         $pages = wp_cache_get( 'directory_pages', 'bp' );
     546        $pages = wp_cache_get( 'directory_pages', 'bp_pages' );
    547547
    548548        if ( false === $pages ) {
    … …  
    588588                }
    589589
    590                 wp_cache_set( 'directory_pages', $pages, 'bp' );
     590                wp_cache_set( 'directory_pages', $pages, 'bp_pages' );
    591591        }
    592592
Note: See TracChangeset for help on using the changeset viewer.