Opened 4 years ago

Closed 8 months ago

#5475 closed enhancement (fixed)

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 (4)

#1 @dd32
4 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
4 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
4 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.

#4 @coffee2code
8 months ago

  • Resolution set to fixed
  • Status changed from new to closed

This appears to have been fixed in the intervening three years since this ticket was raised.

The links mentioned in the ticket both currently show the same image, which is also the image chosen for #975.

A new News theme launched a little while ago, and a lot of work has gone into the global header and such, so this was likely covered through a few of those updates.

Note: See TracTickets for help on using tickets.