Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
d117ca1
read links from link blocks, fall back to the attribute
pfefferle Sep 21, 2026
ba8c8a7
links as blocks in the editor
pfefferle Sep 21, 2026
569d65c
migrate old links and import into link blocks
pfefferle Sep 21, 2026
c2b9af3
remove the old link form
pfefferle Sep 21, 2026
a0a0dda
document link blocks
pfefferle Sep 21, 2026
f983915
no autocomplete on the address field
pfefferle Sep 21, 2026
0c55072
do not add a site twice
pfefferle Sep 21, 2026
06631de
simplify link blocks
pfefferle Sep 21, 2026
6b6a773
close overlays properly, no site twice via import, WordPress 6.8
pfefferle Sep 21, 2026
0d76e1f
core focus handling for the overlays, cancellable lookups, one addres…
pfefferle Sep 21, 2026
1c7d093
compose is a dev dependency like the rest
pfefferle Sep 22, 2026
fd282b2
empty parts of a link only while it is selected
pfefferle Sep 22, 2026
6a7cf1b
keep the address form focusable while busy, one abort controller per …
pfefferle Sep 22, 2026
7186840
a list with links of its own is a manual one
pfefferle Sep 22, 2026
f289b31
count the links, not every child
pfefferle Sep 22, 2026
d72085a
keep the links on a second migration, open the link overlay from the …
pfefferle Sep 22, 2026
860614a
version 2.0.0
pfefferle Sep 22, 2026
0f6c7a0
a port is not a scheme, cancel the import too, no list in a button
pfefferle Sep 22, 2026
5f806a8
migrate a legacy list that has something else in it
pfefferle Sep 22, 2026
6d7860a
only web addresses are linked and stored
pfefferle Sep 22, 2026
8616514
an address needs a host, a manual list stays manual however links arrive
pfefferle Sep 22, 2026
2511656
keep a date set while the lookup runs
pfefferle Sep 22, 2026
bfec99b
the migration rule as a tested helper
pfefferle Sep 22, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
php-versions: ['7.4', '8.3', '8.4']
include:
- wp-version: latest
- wp-version: '6.3'
- wp-version: '6.8'
php-versions: '7.4'
- wp-version: trunk
php-versions: '8.4'
Expand Down
9 changes: 6 additions & 3 deletions blockroll.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
* Plugin Name: Blogroll & Podroll Block
* Plugin URI: https://github.com/pfefferle/wordpress-blockroll
* Description: Share the blogs and podcasts you follow, and let other people subscribe to your list.
* Version: 1.2.0
* Requires at least: 6.5
* Version: 2.0.0
* Requires at least: 6.8
* Requires PHP: 7.4
* Author: Matthias Pfefferle
* Author URI: https://notiz.blog/
Expand Down Expand Up @@ -46,7 +46,10 @@ function init() {
Anchors::register();
Opml::register();
Xfn::register();
\register_block_type( __DIR__ . '/build/blogroll' );
// The blogroll renders its list itself, from the attributes of its link
// blocks; the link blocks have no output, so core need not render them.
\register_block_type( __DIR__ . '/build/blogroll', array( 'skip_inner_blocks' => true ) );
\register_block_type( __DIR__ . '/build/link' );
}
\add_action( 'init', __NAMESPACE__ . '\init' );

Expand Down
4 changes: 3 additions & 1 deletion build/blogroll/block.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/blogroll/index-rtl.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/blogroll/index.asset.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/blogroll/index.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading