[buddypress-trac] [BuddyPress Trac] #5540: post-form.php displayed user firstname instead of logged in user firstname

buddypress-trac noreply at wordpress.org
Tue Apr 15 11:13:17 UTC 2014


#5540: post-form.php  displayed user firstname instead of logged in user firstname
---------------------------+-----------------------------
 Reporter:  lenasterg      |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  low            |  Milestone:  Awaiting Review
Component:  Template Pack  |    Version:  2.0
 Severity:  minor          |   Keywords:
---------------------------+-----------------------------
 First of all, sorry for my bad English.

 In bp-templates/bp-legacy/buddypress/activity/post-form.php
 and bp-themes/bp-default/activity/post-form.php the

 {{{
 printf( __( "What's new, %s?" , 'buddypress' ) , bp_get_user_firstname()
 );
 }}}

 can lead to show the displayed user's firstname instead of the logged in
 user firstname.

 Suggestion to change to:
 {{{
 printf( __( "What's new, %s?", 'buddypress'
 ),bp_get_user_firstname(bp_get_loggedin_user_fullname()) );

 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5540>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list