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

buddypress-trac noreply at wordpress.org
Wed Nov 5 15:16:45 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 needs-unit-tests  |
----------------------------------------+------------------

Comment (by boonebgorges):

 In [changeset:"9124"]:
 {{{
 #!CommitTicketReference repository="" revision="9124"
 Simplify default argument parsing in `bp_core_fetch_avatar()`.

 * Refrain from setting a couple of unnecessary variables.
 * Remove comments, which are redundant with the docblock.

 Props dcavins.
 See #5958.
 }}}

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


More information about the buddypress-trac mailing list