WordPress.org

Making WordPress.org

Opened 4 months ago

Last modified 2 months ago

#5475 new enhancement

Set og:image to the existing wp.org/news image on Make posts

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

Change History (3)

#1 @dd32
3 months ago

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

#2 @dd32
2 months 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
2 months 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="https://make.wordpress.org/core/files/2015/11/wordpress-logo-notext-rgb-150x150.png" sizes="32x32" />
<link rel="icon" href="https://make.wordpress.org/core/files/2015/11/wordpress-logo-notext-rgb-300x300.png" sizes="192x192" />
<link rel="apple-touch-icon" href="https://make.wordpress.org/core/files/2015/11/wordpress-logo-notext-rgb-300x300.png" />
<meta name="msapplication-TileImage" content="https://make.wordpress.org/core/files/2015/11/wordpress-logo-notext-rgb-300x300.png" />

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

Note: See TracTickets for help on using tickets.