ActivityPub 1.0.0 released for WordPress

squirrel@discuss.tchncs.de to Fediverse@lemmy.world – 155 points –
ActivityPub
wordpress.org

Changelog

Add: blog-wide Account (catchall, like example.com@example.com)

Add: a Follow Me block (help visitors to follow your Profile)

Add: Signature Verification: https://docs.joinmastodon.org/spec/security/

Add: a Followers Block (show off your Followers)

Add: Simple caching

Add: Collection endpoints for Featured Tags and Featured Posts

Add: Better handling of Hashtags in mobile apps

Update: Complete rewrite of the Follower-System based on Custom Post Types

Update: Improved linter (PHPCS)

Compatibility: Add a new conditional, \Activitypub\is_activitypub_request(), to allow third-party plugins to detect ActivityPub requests

Compatibility: Add hooks to allow modifying images returned in ActivityPub requests

Compatibility: Indicate that the plugin is compatible and has been tested with the latest version of WordPress, 6.3

Compatibility: Avoid PHP notice on sites using PHP 8.2

Fixed: Load the plugin later in the WordPress code lifecycle to avoid errors in some requests

Fixed: Updating posts

Fixed: Hashtag now support CamelCase and UTF-8

15

You are viewing a single comment

Well this is pretty great, I hope it gets mass adoption across WordPress sites

It doesn't explicitly list Lemmy compatibility, but it should be fine given it works with Mastodon, right?

Looking at the Mastodon and Lemmy documentations, yes it should work.

  • Lemmy accepts posts with the: Page, Article, Note, Video and Event activities.
  • Mastodon accepts toots with the Page, Article, Note, Video, Event, Image, Audio and Question activities.

As you can see there's a large overlap between the two, so I say it's likely that it will work. I could bring this even further by having a look at the plugin's code but unfortunately I'm alergic to both PHP and SVN and wordpress uses both.

The plugin is maintained on GitHub, but yeah it's still a lot of PHP

what else could it possibly be coded in while maintaining compatibility with wordpress, a php application, and its modest server requirements?

It doesn’t explicitly list Lemmy compatibility, but it should be fine given it works with Mastodon, right?

You'd think so, but Lemmy barely manages to federate with kbin at the best of times, so it's not really a guarantee.