Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 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:
Priority: normal Milestone:
Component: REST API Version:
Severity: normal Keywords:
Cc: Focuses:

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
9 years ago

  • Resolution → invalid
  • Status new → closed

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

#2 @ocean90
9 years ago

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