Make WordPress Core

Opened 5 months ago

Last modified 7 weeks ago

#62467 new enhancement

Add Gravatar as oembed provider

Reported by: burtrw's profile burtrw Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Embeds Keywords: has-patch reporter-feedback
Focuses: Cc:

Description

Gravatar recently began supporting oembeds to show a profile card. You can preview the card by appending .card to the end of any profile. For example: https://gravatar.com/matt.card

Is the service popular enough for core developers to have heard of it before? Is it “mainstream?”

Yes. 75+ million users and growing.

Does this service have an established social media presence?

Yes, via the parent Automattic brand.

Is its oEmbed endpoint clearly established and properly documented? (Sometimes, they are just a developer’s pet project that may not be supported.)

https://docs.gravatar.com/api/profiles/embedding-profile-card/

Does the oEmbed endpoint work with WordPress’ oEmbed auto-discovery? If not, could it be made to work with additional HTML tags or attributes being added to the allow-list?

Yes.
Does the service make an effort to build relationships with developers, such as through robust APIs?

Yes: https://docs.gravatar.com/api/profiles/rest-api/

How old is the service?
~20 years.

Does it have a well-established Wikipedia article? (Seriously.)
https://en.wikipedia.org/wiki/Gravatar

Has anyone written a WordPress plugin that leverages the service in some way, whether adding it as an oEmbed provider, creating a shortcode, or leveraging other APIs of the service? Do these plugins have any noticeable adoption or traction that would indicate usage and demand?

The Gravatar Enhanced plugin (https://wordpress.org/plugins/gravatar-enhanced/) supports oembed in WordPress.

Change History (7)

This ticket was mentioned in PR #7822 on WordPress/wordpress-develop by @burtrw.


5 months ago
#1

  • Keywords has-patch added

#2 @desrosj
5 months ago

  • Milestone changed from Awaiting Review to 6.8

Thanks @burtrw, and welcome to Trac!

Moving to 6.8 for consideration.

#3 follow-up: @johnbillion
5 months ago

  • Keywords reporter-feedback added

What's the benefit of adding this to the approved list in core if autodiscovery is enabled?

#4 in reply to: ↑ 3 @desrosj
3 months ago

Replying to johnbillion:

What's the benefit of adding this to the approved list in core if autodiscovery is enabled?

@burtrw are you able to share more context?

@audrasjb commented on PR #7822:


3 months ago
#5

And I added another commit to fix the merge conflict.

#6 @johnbillion
8 weeks ago

  • Milestone changed from 6.8 to Future Release

@burtrw Could you get back to us about the need to add Gravatar to the allow list if autodiscovery works? Cheers!

#7 @burtrw
7 weeks ago

@johnbillion Thanks for following up! Our testing is that it looks like WordPress allows for better custom styling if the allow list autodiscovery works. Without it, our embeds get an extra border, which really doesn't look good, but we haven't found where that is coming from.

Note: See TracTickets for help on using tickets.