[buddypress-trac] [BuddyPress] #2378: Pass $user_id argument for "bp_core_get_user_displayname" filter
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Mon May 10 19:13:52 UTC 2010
#2378: Pass $user_id argument for "bp_core_get_user_displayname" filter
--------------------+-------------------------------------------------------
Reporter: r-a-y | Owner:
Type: defect | Status: new
Priority: minor | Milestone: 1.2.4
Component: Core | Keywords:
--------------------+-------------------------------------------------------
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.
--
Ticket URL: <http://trac.buddypress.org/ticket/2378>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list