[buddypress-trac] [BuddyPress] #2686: Use of BP_XPROFILE_FULLNAME_FIELD_NAME

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon Oct 25 09:46:51 UTC 2010


#2686: Use of BP_XPROFILE_FULLNAME_FIELD_NAME
-----------------------+----------------------------------------------------
 Reporter:  calvin_42  |       Owner:       
     Type:  defect     |      Status:  new  
 Priority:  minor      |   Milestone:  1.2.7
Component:  Core       |    Keywords:       
-----------------------+----------------------------------------------------
 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 );

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2686>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list