-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Override get_avatar_url() #5
Comments
I suppose
wp-libravatar-replace/classes/LibravatarReplace.class.php Lines 189 to 206 in 532622c
|
There are new (pre_)get_avatar_data filters which look perfect for new injection |
The same applies when using @pfefferle pfefferle/wordpress-activitypub, i.e. Mastadon will use gravatar instead of federated libravatar. Do you have any suggestion on how the code should be changed to use the |
|
Anyone care to take over the plugin? |
Since som plugins use
get_avatar_url()
to get the url of the avtar, would it be possible to override that?Example of plugins using
get_avatar_url()
:https://github.com/willnorris/wordpress-opengraph/blob/eaefc0fabddb9f729a6179c1c8e5f7b99788b43c/opengraph.php#L205-L208
https://github.com/pfefferle/wordpress-webfinger/blob/07bf15c5eac5602478e1c4fb1f2f47ff851b1b7d/includes/class-webfinger.php#L117-L118
https://github.com/manton/jsonfeed-wp/blob/68d8e8ccbd3f8fed31a5eb954924031077cceec6/feed-json-functions.php#L142-L156
https://github.com/Automattic/Co-Authors-Plus/blob/703d0404ff27db25066f322ae9e79e440cdc2b34/co-authors-plus.php#L137-L138
The text was updated successfully, but these errors were encountered: