Skip to content

Conversation

@pfefferle
Copy link
Member

Introduces an internal REST API controller for ActivityPub actors, registers the actors entity with WordPress Core Data, and integrates it with block editor assets. Adds documentation, example components, and supports filtering by relationships (followers/following) for use in block editor components.

Fixes #

Proposed changes:

Other information:

  • Have you written new tests for your changes, if applicable?

Testing instructions:

  • Go to '..'

Changelog entry

  • Automatically create a changelog entry from the details below.
Changelog Entry Details

Significance

  • Patch
  • Minor
  • Major

Type

  • Added - for new features
  • Changed - for changes in existing functionality
  • Deprecated - for soon-to-be removed features
  • Removed - for now removed features
  • Fixed - for any bug fixes
  • Security - in case of vulnerabilities

Message

Introduces an internal REST API controller for ActivityPub actors, registers the actors entity with WordPress Core Data, and integrates it with block editor assets. Adds documentation, example components, and supports filtering by relationships (followers/following) for use in block editor components.
@github-actions github-actions bot added [Feature] REST API [Focus] Editor Changes to the ActivityPub experience in the block editor [Status] In Progress Docs labels Nov 14, 2025
Changed the ActivityPub REST API namespace from 'activitypub/v1' to 'activitypub/1.0' across PHP and JS files for consistency. Refactored actor response preparation to use array mapping and filtering, removing '@context' and ensuring all values are processed through object_to_uri. Improved handling of scalar values in object_to_uri and streamlined remote actor data extraction.
Introduces a new internal REST controller and block registration for ActivityPub posts as a WordPress Core Data entity. This enables block editor components to interact with ActivityPub posts using standard entity hooks. Scripts and configuration files for the entity are added, and the entity is registered and enqueued in the plugin.
@pfefferle pfefferle mentioned this pull request Nov 14, 2025
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Docs [Feature] REST API [Focus] Editor Changes to the ActivityPub experience in the block editor [Status] In Progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants