[buddypress-trac] [BuddyPress] #4333: Allow User avatar functions to pass through arguments to bp_core_fetch_avatar

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sat Jul 7 03:39:59 UTC 2012


#4333: Allow User avatar functions to pass through arguments to
bp_core_fetch_avatar
--------------------------+------------------------------
 Reporter:  cklosows      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Members       |     Version:  1.6-beta
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------------------
Changes (by cnorris23):

 * keywords:  has-patch needs-testing => needs-patch


Comment:

 I could argue both why we should/shouldn't do this, but since the
 bp_(loggedin/displayed)_user_avatar functions are just user specific
 wrappers for bp_core_fetch_avatar, it makes sense that they should accept
 the same arguments. However, the patch as it stands, won't work. Rather
 than being user specific functions, they're not just pass-through
 functions for bp_core_fetch_avatar. The 'item_id' param needs to be hard
 coded at a minimum. I'll put up a more comprehensive patch in a few hours.

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


More information about the buddypress-trac mailing list