Skip to content

Add Blockroll source integration - #733

Merged
akirk merged 6 commits into
mainfrom
add-blockroll-source
Sep 15, 2026
Merged

akirk merged 6 commits into
mainfrom
add-blockroll-source

Conversation

@akirk

@akirk akirk commented Sep 15, 2026 •

Copy link
Copy Markdown
Owner

This adds a small Blockroll integration that contributes Friends subscriptions as a dynamic Blogroll block source. When the companion Blockroll source interface is available, an empty Blogroll block can offer Friends subscriptions as a live source without copying subscription data into post content.

Each Friends subscription can also be excluded from Blogroll blocks from its feed settings screen. The checkbox only appears when Blockroll is active, and the preference is stored on the subscription term so it applies to the subscription itself rather than only the current admin user.

This depends on pfefferle/wordpress-blockroll#23, which adds the source filters and editor source actions on the Blockroll side.

Screenshot 2026-09-15 at 15 36 41

Testing:

  • vendor/bin/phpcs integrations/class-blockroll.php friends.php includes/class-admin.php templates/admin/edit-feeds.php tests/test-blockroll.php
  • php -l integrations/class-blockroll.php
  • php -l friends.php
  • php -l includes/class-admin.php
  • php -l templates/admin/edit-feeds.php
  • php -l tests/test-blockroll.php
  • git diff --check

PHPUnit was not run because /tmp/wordpress-tests-lib is not installed in this environment.

Changelog
  • Automatically create a changelog entry from the details below

Type

  • Added

Message

Add Blockroll integration for exposing Friends subscriptions as a Blogroll block source, with per-subscription exclusions.

Test this PR in WordPress Playground

You can test this pull request directly in WordPress Playground:

Launch WordPress Playground

This will install and activate the plugin with the changes from this PR.

@akirk
akirk merged commit 35d0aca into main Sep 15, 2026
26 checks passed
@akirk
akirk deleted the add-blockroll-source branch September 15, 2026 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant