Skip to:
Content

BuddyPress.org

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#2686 closed defect (bug) (fixed)

Use of BP_XPROFILE_FULLNAME_FIELD_NAME

Reported by: calvin_42's profile calvin_42 Owned by: djpaul's profile DJPaul
Milestone: 1.2.7 Priority: minor
Severity: Version:
Component: Core Keywords:
Cc:

Description

Minor fix to do in bp-core.php:1184 (function bp_core_get_user_displayname)

  • $fullname = xprofile_get_field_data( 1, $user_id );

+ $fullname = xprofile_get_field_data( BP_XPROFILE_FULLNAME_FIELD_NAME, $user_id );

Change History (4)

#1 @DJPaul
14 years ago

  • Owner set to DJPaul
  • Status changed from new to assigned

#2 @djpaul
14 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [3302]) Fixes #2686, props calvin_42 (branch)

#3 @djpaul
14 years ago

(In [3303]) Fixes #2686, props calvin_42 (trunk)

#4 @DJPaul
14 years ago

I had to revert this for the branch as it was causing errors with an early request to xprofile happening before xprofile_setup_globals() is called. To fix this would have been a larger change to branch than we want. This patch remains in trunk.

Note: See TracTickets for help on using tickets.