Skip to:
Content

BuddyPress.org

Changeset 3302


Ignore:
Timestamp:
10/25/2010 05:11:26 PM (16 years ago)
Author:
djpaul
Message:

Fixes #2686, props calvin_42 (branch)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-core.php

    r3218 r3302  
    11821182        if ( !$fullname = wp_cache_get( 'bp_user_fullname_' . $user_id, 'bp' ) ) {
    11831183                if ( function_exists('xprofile_install') ) {
    1184                         $fullname = xprofile_get_field_data( 1, $user_id );
     1184                        $fullname = xprofile_get_field_data( BP_XPROFILE_FULLNAME_FIELD_NAME, $user_id );
    11851185
    11861186                        if ( empty($fullname) ) {
Note: See TracChangeset for help on using the changeset viewer.