Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/20/2024 06:48:57 PM (3 years ago)
Author:
espellcaste
Message:

While pulling XProfile group fields objects from cache with the BP_XProfile_Group::get method,
avoid unnecessary queries for the cached bp_xprofile_get_signup_field_ids() function.

See #8976

File:
1 edited

Legend:

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

    r13668 r13797  
    349349                                                                                 * display for the xprofile admin setup screen.
    350350                                                                                 */
    351                                                                                 $signup_fields[ $_signup_field->id ] = bp_xprofile_admin_get_signup_field( $_signup_field, $signup_group, '' );
     351                                                                                $signup_fields[ $_signup_field->id ] = bp_xprofile_admin_get_signup_field( $_signup_field, $signup_group );
    352352                                                                        }
    353353                                                                }
Note: See TracChangeset for help on using the changeset viewer.