WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#43468 closed enhancement (invalid)

REST API uses get_avatar_url and does not have any of the get_avatar function filters

Reported by: chamois_blanc Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: REST API Keywords:
Focuses: Cc:

Description

Hello,

The REST API uses get_avatar_url and does not have any of the get_avatar function filters. I am using the 'WP First Letter Avatar' plugin and the avatar received through the REST API is the default one instead of the one set by the plugin filters.

By the time I get the avatar url through the REST API, it is impossible to know whether it is a custom avatar or the default one.

I think that this problem needs to be addressed. I should be able to get the same result.

Change History (2)

#1 @chamois_blanc
3 years ago

  • Resolution set to invalid
  • Status changed from new to closed

Oh I see there is a get_avatar_url filter that could be used, so nevermind.

#2 @ocean90
3 years ago

  • Milestone Awaiting Review deleted
  • Type changed from feature request to enhancement
  • Version 4.9.4 deleted
Note: See TracTickets for help on using tickets.