[buddypress-trac] [BuddyPress] #4757: "What's new" string in activity post form shows only first word of name (was: Activity comments remove the second part of the display name when there are spaces)

buddypress-trac noreply at wordpress.org
Wed Jan 9 18:28:10 UTC 2013


#4757: "What's new" string in activity post form shows only first word of name
--------------------------+------------------------------
 Reporter:  funnycat777   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Members       |     Version:  1.2
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------
Changes (by r-a-y):

 * version:  1.6.1 => 1.2
 * component:  Activity => Members


Comment:

 This has always been like that.

 The rationale behind this is so it would emulate a first name.  If you
 don't like this, you can either:

 1. Filter 'bp_get_user_firstname' so that it returns the full display name
 instead of only the first word of the name; or:
 2. Change the function call (from `bp_get_user_firstname()` to
 `bp_get_loggedin_user_fullname()`) within the template (`activity/post-
 form.php`) to use the full display name.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4757#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list