Opened 12 years ago
Closed 12 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 |
|---|---|---|---|
| Priority: | low | Milestone: | 2.1 |
| Component: | Activity | Version: | 2.0 |
| Severity: | minor | 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 8405: