[buddypress-trac] [BuddyPress Trac] #5958: Add object parameter to bp_core_fetch_avatar_no_grav

buddypress-trac noreply at wordpress.org
Tue Oct 28 21:25:40 UTC 2014


#5958: Add object parameter to bp_core_fetch_avatar_no_grav
-------------------------+------------------
 Reporter:  dcavins      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  low          |   Milestone:  2.2
Component:  Avatars      |     Version:  2.1
 Severity:  minor        |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------
Changes (by dcavins):

 * cc: david.cavins@… (added)
 * keywords:  needs-refresh => has-patch


Comment:

 Here's a pass at handling the function as @boonebgorges suggested. I
 removed `extract()` in favor of modifying the `$params` array. I like that
 when `$params` is passed via a filter, you get the updated and so-far-so-
 filtered array rather than the original parsed array. I also moved some
 code around for clarity (I hope!) and was able to simplify some bits.

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


More information about the buddypress-trac mailing list