Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/27/2024 03:25:10 PM (2 years 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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.