Skip to content

Commit

Permalink
Publicize: add Fediverse creator meta tag from Mastodon connection (#…
Browse files Browse the repository at this point in the history
…38809)

* Publicize: add Fediverse creator meta tag from Mastodon connection

This is a follow-up to #38198, which was partially reverted in #38612.
It's an alternative to #38565, to ensure better compatibility with WordPress.com Simple.

1. It takes into account the ActivityPub plugin, and ensure we're not adding a tag when the ActivityPub plugin already adds one.
2. It takes into account that on WordPress.com Simple, `get_services()` may return a `Keyring_Access_Token` object instead of an array.
3. It adds the 2 necessary methods directly to the `functions.opengraph.php` file, since we know it is loaded on the frontend on WordPress.com Simple (see conversation here to find out more: Automattic/jetpack#38565 (comment) )

* Add missing since parameter

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/10357379297

Upstream-Ref: Automattic/jetpack@3c68c42
  • Loading branch information
ice9js authored and matticbot committed Aug 12, 2024
1 parent ab045e7 commit acb84e0
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit acb84e0

Please sign in to comment.