Opened 10 years ago
Closed 10 years ago
#5540 closed defect (bug) (fixed)
post-form.php displayed user firstname instead of logged in user firstname
Reported by: | lenasterg | Owned by: | boonebgorges |
---|---|---|---|
Milestone: | 2.1 | Priority: | low |
Severity: | minor | Version: | 2.0 |
Component: | Activity | Keywords: | has-patch |
Cc: |
Description
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()) );
Change History (2)
Note: See
TracTickets for help on using
tickets.
In 8405: