From 11d66d0caf3ebf2417efe66d442ed5effc0c6320 Mon Sep 17 00:00:00 2001 From: Adam Wood <1017872+adamwoodnz@users.noreply.github.com> Date: Wed, 20 Nov 2024 12:53:19 +1300 Subject: [PATCH] Fix block registration path --- mu-plugins/blocks/search-results-context/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mu-plugins/blocks/search-results-context/index.php b/mu-plugins/blocks/search-results-context/index.php index 418585f1..5cf33110 100644 --- a/mu-plugins/blocks/search-results-context/index.php +++ b/mu-plugins/blocks/search-results-context/index.php @@ -72,7 +72,7 @@ function render( $attributes ) { */ function init() { register_block_type( - dirname( dirname( __DIR__ ) ) . '/build', + __DIR__ . '/build', array( 'render_callback' => __NAMESPACE__ . '\render', )