Skip to:
Content

BuddyPress.org

Changeset 3303 for trunk/bp-core.php


Ignore:
Timestamp:
10/25/2010 05:21:25 PM (15 years ago)
Author:
djpaul
Message:

Fixes #2686, props calvin_42 (trunk)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core.php

    r3300 r3303  
    11381138    if ( !$fullname = wp_cache_get( 'bp_user_fullname_' . $user_id, 'bp' ) ) {
    11391139        if ( bp_is_active( 'xprofile' ) ) {
    1140             $fullname = xprofile_get_field_data( 1, $user_id );
     1140            $fullname = xprofile_get_field_data( BP_XPROFILE_FULLNAME_FIELD_NAME, $user_id );
    11411141
    11421142            if ( empty($fullname) ) {
Note: See TracChangeset for help on using the changeset viewer.