[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
Mon Jul 9 22:33:20 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:  has-patch needs-testing  |
-------------------------------------+------------------------------
Changes (by cnorris23):

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


Comment:

 Attached patch allows all bp_core_fetch_avatar() arguments to be passed
 through (except of course for the user specific args). Removes unnecessary
 default args, as they are the same as bp_core_fetch_avater(). Adds
 bp_(get_)loggedin_user_email() functions, so that
 bp_(get_)displayed_user_email() functions aren't so lonely. Also PHPDoc.

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


More information about the buddypress-trac mailing list