[buddypress-trac] [BuddyPress Trac] #6622: Missed $args parameter in bp_core_fetch_avatar_filter()

buddypress-trac noreply at wordpress.org
Thu Oct 8 03:08:51 UTC 2015


#6622: Missed $args parameter in bp_core_fetch_avatar_filter()
--------------------------------------+--------------------
 Reporter:  WeddyWood                 |       Owner:
     Type:  defect (bug)              |      Status:  new
 Priority:  high                      |   Milestone:  2.4
Component:  API - Avatars             |     Version:  2.3.3
 Severity:  normal                    |  Resolution:
 Keywords:  good-first-bug has-patch  |
--------------------------------------+--------------------
Changes (by r-a-y):

 * keywords:  needs-patch good-first-bug => good-first-bug has-patch


Comment:

 `01.patch` is an initial pass at supporting the new `$args` parameter in
 the `'get_avatar'` filter.

 Something to be wary about is the `$args['extra_attr']` parameter.  WP
 does not sanitize this whatsoever.  Do we want to do anything here?

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


More information about the buddypress-trac mailing list