From 2cd4880121d751b3252809aba35a16cdc5f4c3bc Mon Sep 17 00:00:00 2001 From: Brandonma21 Date: Thu, 3 Sep 2026 10:21:43 +0200 Subject: [PATCH 1/2] fix(linkable-blocks): correct enqueued stylesheet path Bug fix - Change build/css/style-linkable-blocks.css to build/css/linkable-blocks.css - The "style-" prefix was copy-pasted from another block's enqueue code; this block's actual webpack output has no such prefix - Caused the stylesheet to 404 on every single page load sitewide --- inc/linkable-blocks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/linkable-blocks.php b/inc/linkable-blocks.php index 22759b4..2101022 100644 --- a/inc/linkable-blocks.php +++ b/inc/linkable-blocks.php @@ -46,7 +46,7 @@ function ls_plugin_register_linkable_block_styles() { wp_register_style( 'ls-plugin-linkable-blocks', - LS_PLUGIN_PLUGIN_URL . 'build/css/style-linkable-blocks.css', + LS_PLUGIN_PLUGIN_URL . 'build/css/linkable-blocks.css', $asset['dependencies'] ?? array(), $asset['version'] ?? LS_PLUGIN_VERSION ); From 68ad2c410ee419c0d7f67cda5c7a688cfd9a3d71 Mon Sep 17 00:00:00 2001 From: Brandonma21 Date: Thu, 3 Sep 2026 10:24:40 +0200 Subject: [PATCH 2/2] docs(changelog): add entry for linkable-blocks stylesheet fix --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1430302..0e57b90 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -45,6 +45,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Removed the standalone Back to Top block source in favour of variation-based implementation. ### Fixed +- Fixed the Linkable Blocks stylesheet 404ing on every page load sitewide: `inc/linkable-blocks.php` enqueued `build/css/style-linkable-blocks.css`, a filename that doesn't exist (likely copy-pasted from another block's enqueue code, which does use a `style-` prefix). The actual compiled file is `build/css/linkable-blocks.css`. Corrected the enqueued path to match. - Fixed editor runtime errors from invalid React component handling in Back to Top editor integration. - Fixed strict mode error in Back to Top animation loop by replacing `arguments.callee` with a named animation step. - Fixed Taxonomy Filter full-page refresh behaviour by enabling client-side Query Loop navigation when the block is present.