Skip to:
Content

BuddyPress.org

Ticket #6717: 6717.diff

File 6717.diff, 627 bytes (added by boonebgorges, 5 years ago)
  • src/bp-core/bp-core-functions.php

    diff --git src/bp-core/bp-core-functions.php src/bp-core/bp-core-functions.php
    index 280f371..d2a433b 100644
    function bp_core_get_directory_pages() { 
    549549        global $wpdb;
    550550
    551551        // Look in cache first
    552         $pages = wp_cache_get( 'directory_pages', 'bp' );
     552        $pages = wp_cache_get( 'directory_pages', 'bp_pages' );
    553553
    554554        if ( false === $pages ) {
    555555
    function bp_core_get_directory_pages() { 
    593593                        }
    594594                }
    595595
    596                 wp_cache_set( 'directory_pages', $pages, 'bp' );
     596                wp_cache_set( 'directory_pages', $pages, 'bp_pages' );
    597597        }
    598598
    599599        /**