Skip to:
Content

BuddyPress.org

Changes between Version 4 and Version 5 of Ticket #5733, comment 20


Ignore:
Timestamp:
12/09/2014 05:33:07 PM (6 years ago)
Author:
r-a-y
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5733, comment 20

    v4 v5  
    33We either need to use `switch_to_blog( bp_get_root_blog_id() )` / `restore_current_blog()` inside our internal meta functions (`bp_blogs_get_blogmeta()`, `groups_get_groupmeta()`, etc.).
    44
    5 The alternative is registering our meta cache groups to WP's global object cache groups:
     5Or, the alternative is registering our meta cache groups to WP's global object cache groups:
    66
    77* `'blog_meta'`