Opened 3 years ago

Last modified 2 years ago

#5475 new enhancement

Set og:image to the existing image on Make posts

Reported by: claytoncollie's profile claytoncollie Owned by:
Milestone: Priority: normal
Component: Make (Get Involved) / P2 Keywords:

Change History (3)

#1 @dd32
3 years ago

  • Component changed from General to Make (Get Involved) / P2
  • Summary changed from Set og:image to the existing image on CORE articles to Set og:image to the existing image on Make posts

#2 @dd32
3 years ago

In 10462:

Open-source the Jetpack mu-plugin we use to tweak the default og:image and Twitter site names.

See #975, #5475.

#3 @dd32
3 years ago

Jetpack was inheriting the "Site Icon" preference from the customizer, I don't think it was actually being used for anything specifically so I've removed it in favour of the default images that the mu-plugin offers.

I've open-sourced that mu-plugin since I was looking into this code and it was in the private repo.

It looks like the Site Icon functionality was only offering higher-resolution non-favicon images:

<link rel="icon" href="" sizes="32x32" />
<link rel="icon" href="" sizes="192x192" />
<link rel="apple-touch-icon" href="" />
<meta name="msapplication-TileImage" content="" />

It's probably worthwhile migrating that from per-site settings to the global header (which currently only references favicon.ico) rather than just removing these tags outright.

Note: See TracTickets for help on using tickets.