[buddypress-trac] [BuddyPress Trac] #7424: filter get_avatar_url to parse URLs from BP avatars

buddypress-trac noreply at wordpress.org
Thu Jun 22 00:03:39 UTC 2017


#7424: filter get_avatar_url to parse URLs from BP avatars
------------------------------+------------------
 Reporter:  elhardoum         |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  2.9
Component:  Extended Profile  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |
------------------------------+------------------

Comment (by r-a-y):

 `01.patch` deprecates the older `bp_core_fetch_avatar_filter()` function
 in favor for the newer `'bp_core_get_avatar_data_filter()' function, which
 filters the newer `'get_avatar_data'` filter available since WordPress
 4.2.  The `'get_avatar_data'` filter should also cover the
 `'get_avatar_url'` filter.

 The reason for deprecation is BP 2.9 supports a minimum of WP 4.4 and the
 `'get_avatar'` filter is old.  The `get_avatar()` function itself uses
 `get_avatar_data()`.

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


More information about the buddypress-trac mailing list