[buddypress-trac] [BuddyPress Trac] #7424: filter get_avatar_url to parse URLs from BP avatars
buddypress-trac
noreply at wordpress.org
Fri Jun 23 17:58:22 UTC 2017
#7424: filter get_avatar_url to parse URLs from BP avatars
------------------------------+---------------------------
Reporter: elhardoum | Owner: boonebgorges
Type: enhancement | Status: closed
Priority: normal | Milestone: 2.9
Component: Extended Profile | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch commit |
------------------------------+---------------------------
Changes (by boonebgorges):
* owner: => boonebgorges
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"11614"]:
{{{
#!CommitTicketReference repository="" revision="11614"
Filter WP avatars at `get_avatar_url` instead of `get_avatar`.
The `get_avatar_url` filter, introduced in WP 4.2, is a more general
point for filtering avatar URLs than the legacy `get_avatar`. The
URL-specific filter allows us to simplify our filter logic, and
ensures that developers fetching avatar data with `get_avatar_data()`
get BP avatars when appropriate.
Props elhardoum, r-a-y.
Fixes #7424.
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7424#comment:7>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list