Skip to content

Add ActivityPub options to Jetpack sync allow list - #3176

Merged
pfefferle merged 3 commits into
trunkfrom
fix/jetpack-sync-blog-identifier
Apr 15, 2026
Merged

Add ActivityPub options to Jetpack sync allow list#3176
pfefferle merged 3 commits into
trunkfrom
fix/jetpack-sync-blog-identifier

Conversation

@pfefferle

Copy link
Copy Markdown
Member

Proposed changes:

  • ActivityPub options like activitypub_blog_identifier were not synced via Jetpack, meaning changes on WordPress.com wouldn't propagate to the self-hosted site and vice versa.
  • Add key blog actor options to the jetpack_sync_options_whitelist filter:
    • activitypub_blog_identifier — the blog actor's username/handle
    • activitypub_blog_description — the blog actor's bio
    • activitypub_header_image — the blog actor's header image
    • activitypub_actor_mode — which actor types are enabled

Other information:

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

Existing Jetpack integration tests pass. The sync allowlist is a simple array addition that doesn't need dedicated tests.

Testing instructions:

  • On a Jetpack-connected site, change the blog actor identifier in ActivityPub settings.
  • Verify the option change is picked up by Jetpack sync (check Jetpack debug tools or sync status).
  • Verify the same option value appears on the WordPress.com side.

Changelog entry

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

Significance

  • Patch

Type

  • Fixed - for any bug fixes

Message

Sync ActivityPub blog actor settings via Jetpack.

Sync blog actor options (identifier, description, header image,
actor mode) via Jetpack so changes propagate between WordPress.com
and self-hosted sites.
@pfefferle pfefferle self-assigned this Apr 14, 2026
@pfefferle
pfefferle requested review from a team and Copilot April 14, 2026 10:22
@github-actions github-actions Bot added the [Focus] Compatibility Ensuring the plugin plays well with other plugins label Apr 14, 2026
@pfefferle
pfefferle requested a review from jeherve April 14, 2026 10:22

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds Jetpack Sync support for core ActivityPub “blog actor” settings so changes propagate between WordPress.com and connected self-hosted sites.

Changes:

  • Hooks jetpack_sync_options_whitelist to include ActivityPub option keys in sync.
  • Introduces Jetpack::add_sync_options() to append the ActivityPub options to the allow list.
  • Adds a changelog entry describing the fix.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
integration/class-jetpack.php Adds a Jetpack Sync options whitelist filter and appends ActivityPub option names to the allow list.
.github/changelog/3176-from-description Documents the patch-level fix in the changelog system.

Comment thread integration/class-jetpack.php
Comment thread integration/class-jetpack.php
Comment thread integration/class-jetpack.php
@pfefferle
pfefferle merged commit d593002 into trunk Apr 15, 2026
10 checks passed
@pfefferle
pfefferle deleted the fix/jetpack-sync-blog-identifier branch April 15, 2026 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Focus] Compatibility Ensuring the plugin plays well with other plugins

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants