Skip to:
Content

BuddyPress.org

Changeset 13979


Ignore:
Timestamp:
07/27/2024 03:25:10 PM (5 months ago)
Author:
imath
Message:

Add missing bp_signups & bp_optouts global cache groups

  • Adds bp_optouts to the BP Core component global cache group registration’s method.
  • Adds bp_signups to the BP Members component global cache group registration’s method.

Fixes #9216
Closes https://github.com/buddypress/buddypress/pull/351

Location:
trunk/src
Files:
2 edited

Legend:

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

    r13893 r13979  
    330330                'bp_pages',
    331331                'bp_invitations',
     332                'bp_optouts',
    332333            )
    333334        );
  • trunk/src/bp-members/classes/class-bp-members-component.php

    r13707 r13979  
    680680
    681681        // Global groups.
    682         wp_cache_add_global_groups( array(
    683             'bp_last_activity',
    684             'bp_member_member_type',
    685         ) );
     682        wp_cache_add_global_groups(
     683            array(
     684                'bp_last_activity',
     685                'bp_member_member_type',
     686                'bp_signups',
     687            )
     688        );
    686689
    687690        parent::setup_cache_groups();
Note: See TracChangeset for help on using the changeset viewer.