|Reported by:||pathawks||Owned by:|
|Cc:||info@…, readysetawesome, batmoo@…, justin@…, xoodrew@…|
There should be a separate function to just get an avatar URL, versus getting the image wrapped in an <img> tag. This function should pass the avatar URL through a filter before returning it.
get_avatar would then call this function, rather than generating a Gravatar URL on its own.
This way, a plugin can grab a user's avatar image without relying on regex to extract the image from the <img> tag, and in a way that is compatible with plugins that replace Gravatar.
Change History (23)
- Type changed from defect (bug) to feature request
- Version set to 2.5