Skip to:
Content

BuddyPress.org

Changeset 13234


Ignore:
Timestamp:
02/18/2022 07:53:07 PM (2 years ago)
Author:
dcavins
Message:

Correct reference to bp_members_admin_format_xprofile_field_for_display().

When formatting an array-based xprofile field for display,
bp_members_admin_format_xprofile_field_for_display()
should refer to itself using the correct function name.

Props niftythree.

Fixes #8638.

File:
1 edited

Legend:

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

    r13169 r13234  
    125125function bp_members_admin_format_xprofile_field_for_display( $value ) {
    126126    if ( is_array( $value ) ) {
    127         $value = array_map( 'bp_signup_format_xprofile_field_for_display', $value );
     127        $value = array_map( 'bp_members_admin_format_xprofile_field_for_display', $value );
    128128        $value = implode( ', ', $value );
    129129    } else {
Note: See TracChangeset for help on using the changeset viewer.