Skip to:
Content

BuddyPress.org

Changeset 13237


Ignore:
Timestamp:
02/19/2022 07:01:26 AM (2 years ago)
Author:
imath
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, dcavins.

Fixes #8638 (branch 10.0).

File:
1 edited

Legend:

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

    r13169 r13237  
    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.