[buddypress-trac] [BuddyPress] #3515: add $username to bp_core_get_user_domain filter

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Aug 25 17:05:00 UTC 2011


#3515: add $username to bp_core_get_user_domain filter
-------------------------+-----------------------------
 Reporter:  sboisvert    |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Members      |    Version:  1.5
 Severity:  minor        |   Keywords:
-------------------------+-----------------------------
 Good day,
 I would like to suggest 2 separate patches for your consideration. The
 first simply adds $username to  the bp_core_get_user_domain filter, while
 the other adds a filter that also has the extra username parameter just
 before the cache is set called bp_core_get_user_domain_pre_cache (There
 may be a preferred nomenclature that I am not familiar with regarding
 naming pre cache filters).

 $username was picked over $user_id,$user_nicename or $user_login because
 it is guaranteed to be available while the others may not depending on how
 the function was called.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3515>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list