Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 15 years ago

#2378 closed defect (bug) (fixed)

Pass $user_id argument for "bp_core_get_user_displayname" filter

Reported by: r-a-y's profile r-a-y Owned by:
Milestone: 1.2.4 Priority: minor
Severity: Version:
Component: Core Keywords: has-patch
Cc: r-a-y

Description

In BP 1.2.3, would help if the bp_core_get_user_displayname filter passed the $user_id variable in bp-core.php.

On line 1190 in bp-core.php, change:

return apply_filters( 'bp_core_get_user_displayname', $fullname );

to:

return apply_filters( 'bp_core_get_user_displayname', $fullname, $user_id );

---

It's a simple request that hopefully makes its way into BP 1.2.4.

Attachments (1)

2378.patch (436 bytes) - added by r-a-y 15 years ago.

Download all attachments as: .zip

Change History (4)

#1 @r-a-y
15 years ago

  • Cc r-a-y added

@r-a-y
15 years ago

#2 @r-a-y
15 years ago

  • Keywords has-patch added

#3 @apeatling
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [3015]) Fixes #2378 props r-a-y

Note: See TracTickets for help on using tickets.