Skip to:
Content

BuddyPress.org

Changeset 10944


Ignore:
Timestamp:
07/18/2016 05:50:08 AM (8 years ago)
Author:
djpaul
Message:

xprofile: fix cache group name in bp_profile_get_field_groups.

This was incorrect in its initial implementation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-xprofile/bp-xprofile-template.php

    r10904 r10944  
    962962    if ( false === $groups ) {
    963963        $groups = bp_xprofile_get_groups( array( 'fetch_fields' => true ) );
    964         wp_cache_set( 'all', $groups, 'bp_xprofile' );
     964        wp_cache_set( 'all', $groups, 'bp_xprofile_groups' );
    965965    }
    966966
Note: See TracChangeset for help on using the changeset viewer.