Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/06/2022 10:14:05 PM (19 months ago)
Author:
imath
Message:

Add missing global cache groups

Props nickchomey, dcavins

See #8590

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/classes/class-bp-groups-component.php

    r13286 r13336  
    963963
    964964        // Global groups.
    965         wp_cache_add_global_groups( array(
    966             'bp_groups',
    967             'bp_group_admins',
    968             'bp_group_invite_count',
    969             'group_meta',
    970             'bp_groups_memberships',
    971             'bp_groups_memberships_for_user',
    972         ) );
     965        wp_cache_add_global_groups(
     966            array(
     967                'bp_groups',
     968                'bp_group_admins',
     969                'bp_group_invite_count',
     970                'group_meta',
     971                'bp_groups_memberships',
     972                'bp_groups_memberships_for_user',
     973                'bp_group_mods',
     974                'bp_groups_invitations_as_memberships',
     975                'bp_groups_group_type',
     976            )
     977        );
    973978
    974979        parent::setup_cache_groups();
Note: See TracChangeset for help on using the changeset viewer.